diff options
author | Tim Potter <tpot@samba.org> | 2000-05-05 04:18:22 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2000-05-05 04:18:22 +0000 |
commit | c7ddaacd269528dd10aabdc5ce5ad05b6c66a601 (patch) | |
tree | 9d41a345169acd1bd189c021d0570b915c4d62bf | |
parent | a12b2cd9e806fefeabdbe73b46b569f5b9bc927f (diff) | |
download | samba-c7ddaacd269528dd10aabdc5ce5ad05b6c66a601.tar.gz samba-c7ddaacd269528dd10aabdc5ce5ad05b6c66a601.tar.bz2 samba-c7ddaacd269528dd10aabdc5ce5ad05b6c66a601.zip |
Fix for crash bug in OpenConfFile() if no smb.conf exists.
(This used to be commit b531ddb2657e9eac1c1e9f32344b67c3963ce30a)
-rw-r--r-- | source3/param/params.c | 2 |
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; |