diff options
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/libsmbclient.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libsmb/libsmbclient.c b/source3/libsmb/libsmbclient.c index 75b2b37c06..6b4ae9f4b7 100644 --- a/source3/libsmb/libsmbclient.c +++ b/source3/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);*/ |