diff options
author | Jeremy Allison <jra@samba.org> | 2005-01-14 20:23:22 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:53:52 -0500 |
commit | 622480b64b32154c81441d19cf1e701d278bb9a8 (patch) | |
tree | dfe661c9ca2b1720e281e694bd6c24c541dec603 | |
parent | c3ba8b9a53617c75ffbcfa8ef32044cb1691d693 (diff) | |
download | samba-622480b64b32154c81441d19cf1e701d278bb9a8.tar.gz samba-622480b64b32154c81441d19cf1e701d278bb9a8.tar.bz2 samba-622480b64b32154c81441d19cf1e701d278bb9a8.zip |
r4738: Fix for bug #2238 - memory leak in shadow copy vfs.
Jeremy.
(This used to be commit fb7f1aff7c96e4672641f80b74a058abf25d0d6d)
-rw-r--r-- | source3/modules/vfs_shadow_copy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/modules/vfs_shadow_copy.c b/source3/modules/vfs_shadow_copy.c index 133e8e9c64..513f33b3cb 100644 --- a/source3/modules/vfs_shadow_copy.c +++ b/source3/modules/vfs_shadow_copy.c @@ -137,6 +137,7 @@ int shadow_copy_closedir(vfs_handle_struct *handle, connection_struct *conn, DIR { shadow_copy_Dir *dirp = (shadow_copy_Dir *)_dirp; + SAFE_FREE(dirp->dirs); SAFE_FREE(dirp); return 0; |