r24410: - I got tricked by function naming. Contrary to what seemed obvious to me,
authorDerrell Lipman <derrell@samba.org>
Tue, 14 Aug 2007 14:27:42 +0000 (14:27 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:29:41 +0000 (12:29 -0500)
commit2fde343150c17959fc970b18e1eb4efde800b4db
tree7b91b341d86c3218f0dc8ce088ace1816e41ec3d
parentee6f212ed0b332e6886056e6d254d0c0da7c5046
r24410: - I got tricked by function naming.  Contrary to what seemed obvious to me,
  prs_mem_free() is not the function to be called to free memory allocated by
  prs_alloc_mem().  I've added a comment so others may not get bitten too.

- Remove incorrect memory free calls added yesterday to replace SAFE_FREE.
  The memory is actually now on a talloc context, so gets freed by the caller
  when that context is freed.  We don't need to free it iternally.

Derrell
source/libsmb/libsmbclient.c
source/rpc_parse/parse_prs.c