summaryrefslogtreecommitdiff
path: root/source4/ntp_signd/ntp-dev-4.2.5p125.diff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-07-01 14:05:17 +1000
committerAndrew Tridgell <tridge@samba.org>2009-07-01 15:15:37 +1000
commit956b5a0003a3ab82d2d7cffb7aee6e5281b4fbb4 (patch)
treeb31ce346b11cbada4b39dd63134c6a6feb8fe903 /source4/ntp_signd/ntp-dev-4.2.5p125.diff
parent2d981919b8dd63655a39ccaa4fd7bdb39d1830f6 (diff)
downloadsamba-956b5a0003a3ab82d2d7cffb7aee6e5281b4fbb4.tar.gz
samba-956b5a0003a3ab82d2d7cffb7aee6e5281b4fbb4.tar.bz2
samba-956b5a0003a3ab82d2d7cffb7aee6e5281b4fbb4.zip
fixed use of reference in pytalloc
The previous code caused memory leaks, and also caused situations where talloc_free could be called on pointers with multiple parents The new approach is to have two functions: py_talloc_import : steals the pointer, so it becomes wholly owned by the python object py_talloc_reference: uses a reference, so it is owned by both python and C
Diffstat (limited to 'source4/ntp_signd/ntp-dev-4.2.5p125.diff')
0 files changed, 0 insertions, 0 deletions