git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e039676
)
vfs: Make sure we don't call talloc_free on an uninitialized pointer.
author
Andreas Schneider
<asn@samba.org>
Mon, 10 Dec 2012 12:35:27 +0000
(13:35 +0100)
committer
Günther Deschner
<gd@samba.org>
Wed, 12 Dec 2012 08:42:32 +0000
(09:42 +0100)
Found by Coverity.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source3/modules/vfs_media_harmony.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_media_harmony.c
b/source3/modules/vfs_media_harmony.c
index 360fca692976aaa4e8fc77a6fc7409d55e130f3b..bdbb750e9caa945bd85031177b6bada916e5709d 100644
(file)
--- a/
source3/modules/vfs_media_harmony.c
+++ b/
source3/modules/vfs_media_harmony.c
@@
-808,7
+808,7
@@
static DIR *mh_fdopendir(vfs_handle_struct *handle,
const char *mask,
uint32 attr)
{
- struct mh_dirinfo_struct *dirInfo;
+ struct mh_dirinfo_struct *dirInfo
= NULL
;
DIR *dirstream;
DEBUG(MH_INFO_DEBUG, ("Entering with fsp->fsp_name->base_name '%s'\n",