r26453: Janitorial: Don't use a static char[] in smb_readline_replacement.
commit43ac3d9b44b98d44db9b1550c47e8f96a410d1e9
authorKai Blin <kai@samba.org>
Fri, 14 Dec 2007 13:04:56 +0000 (14 14:04 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 21 Dec 2007 04:50:18 +0000 (21 05:50 +0100)
tree9289d7b30bd6a0be28b4935a7314da0373e4b47c
parentd8feba9faf8f135109e347b5bf5fa054df97a11a
r26453: Janitorial: Don't use a static char[] in smb_readline_replacement.

Fix up callers to free the memory returned, as that is needed if we use the
original readline function as well.
(This used to be commit c81ead1c38f417d442157b21d0d389f6a540c6f9)
source4/client/client.c
source4/lib/registry/tools/regshell.c
source4/lib/smbreadline/smbreadline.c
source4/torture/rpc/samr.c
source4/torture/smbtorture.c