summaryrefslogtreecommitdiff
path: root/ext/ODBM_File
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-02-15 05:17:56 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-02-15 05:17:56 +0000
commiteb99164fe573f928a1e23c686cddfafdbe9ae10a (patch)
treeeae8bb5b4209240a71a8c3f8e94c84498fcfb101 /ext/ODBM_File
parent850fabdf2ccd0a80b987899ff0014695459be38a (diff)
downloadperl-eb99164fe573f928a1e23c686cddfafdbe9ae10a.tar.gz
fix leaks in *DBM_File; safemalloc()ed things need to be freed with
safefree() rather than Safefree() p4raw-id: //depot/perl@5091
Diffstat (limited to 'ext/ODBM_File')
-rw-r--r--ext/ODBM_File/ODBM_File.xs1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/ODBM_File/ODBM_File.xs b/ext/ODBM_File/ODBM_File.xs
index 7601c3433b..e263dfbc62 100644
--- a/ext/ODBM_File/ODBM_File.xs
+++ b/ext/ODBM_File/ODBM_File.xs
@@ -120,6 +120,7 @@ DESTROY(db)
CODE:
dbmrefcnt--;
dbmclose();
+ safefree(db);
datum_value
odbm_FETCH(db, key)