diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-15 05:17:56 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-15 05:17:56 +0000 |
commit | eb99164fe573f928a1e23c686cddfafdbe9ae10a (patch) | |
tree | eae8bb5b4209240a71a8c3f8e94c84498fcfb101 /ext/NDBM_File | |
parent | 850fabdf2ccd0a80b987899ff0014695459be38a (diff) | |
download | perl-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/NDBM_File')
-rw-r--r-- | ext/NDBM_File/NDBM_File.xs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/NDBM_File/NDBM_File.xs b/ext/NDBM_File/NDBM_File.xs index 29cc288769..49a1db5e56 100644 --- a/ext/NDBM_File/NDBM_File.xs +++ b/ext/NDBM_File/NDBM_File.xs @@ -63,6 +63,7 @@ ndbm_DESTROY(db) NDBM_File db CODE: dbm_close(db->dbp); + safefree(db); #define ndbm_FETCH(db,key) dbm_fetch(db->dbp,key) datum_value |