summaryrefslogtreecommitdiff
path: root/lib/talloc/pytalloc.h
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-22 12:00:57 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-22 12:26:39 +0100
commit93472b41dedd8e30be8752c271f2b4bca392176a (patch)
tree7c2be53bd2b6961b026ab21c8ee5bf5d72586e81 /lib/talloc/pytalloc.h
parent5f24bfb7b9419d4aac220adc038bd3776fc172e6 (diff)
downloadsamba-93472b41dedd8e30be8752c271f2b4bca392176a.tar.gz
samba-93472b41dedd8e30be8752c271f2b4bca392176a.tar.bz2
samba-93472b41dedd8e30be8752c271f2b4bca392176a.zip
s4:registry - "patchfile_dotreg.c" - fix a memory leak
Here we allocate memory on the "NULL" context through "reg_val_data_string" on each call of "set_value". So when we have written out the allocated data on the specified file descriptor we should immediately free this memory! Otherwise we may end up with a big memory consumption on big registry databases.
Diffstat (limited to 'lib/talloc/pytalloc.h')
0 files changed, 0 insertions, 0 deletions