summaryrefslogtreecommitdiff
path: root/source3/param/params.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/param/params.c')
-rw-r--r--source3/param/params.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/params.c b/source3/param/params.c
index 8e92621791..1cf3aa9eb1 100644
--- a/source3/param/params.c
+++ b/source3/param/params.c
@@ -537,7 +537,7 @@ static myFILE *OpenConfFile( char *FileName )
("%s Unable to open configuration file \"%s\":\n\t%s\n",
func, FileName, strerror(errno)) );
free(ret);
- ret = NULL;
+ return NULL;
}
ret->p = ret->buf;