git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b351f2
)
r4738: Fix for bug #2238 - memory leak in shadow copy vfs.
author
Jeremy Allison
<jra@samba.org>
Fri, 14 Jan 2005 20:23:22 +0000
(20:23 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 15:53:52 +0000
(10:53 -0500)
Jeremy.
source/modules/vfs_shadow_copy.c
patch
|
blob
|
history
diff --git
a/source/modules/vfs_shadow_copy.c
b/source/modules/vfs_shadow_copy.c
index 133e8e9c647ed64ba60201846def0c85197b2dd0..513f33b3cb3229a165a4d61002d7e479db8db2c2 100644
(file)
--- a/
source/modules/vfs_shadow_copy.c
+++ b/
source/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;