git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26d471c
)
r14236: Fix Coverity bug # 90
author
Volker Lendecke
<vlendec@samba.org>
Sun, 12 Mar 2006 11:00:06 +0000
(11:00 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:15:19 +0000
(11:15 -0500)
source/libsmb/libsmbclient.c
patch
|
blob
|
history
diff --git
a/source/libsmb/libsmbclient.c
b/source/libsmb/libsmbclient.c
index 75b2b37c06552544456ee299d0f5f0494a8af555..6b4ae9f4b7002cfa56291a53578dc7fb46cff30d 100644
(file)
--- a/
source/libsmb/libsmbclient.c
+++ b/
source/libsmb/libsmbclient.c
@@
-1070,6
+1070,7
@@
smbc_open_ctx(SMBCCTX *context,
if (!cli_resolve_path( "", &srv->cli, path, &targetcli, targetpath))
{
d_printf("Could not resolve %s\n", path);
+ SAFE_FREE(file);
return NULL;
}
/*d_printf(">>>open: resolved %s as %s\n", path, targetpath);*/