1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

s3:loadparm: add support for P_CMDLIST to lp_do_parameter - fix a build warning

This commit is contained in:
Michael Adam 2011-07-21 17:18:40 +02:00
parent 3c8e94b6c4
commit 5158fd1688

View File

@ -7392,6 +7392,7 @@ bool lp_do_parameter(int snum, const char *pszParmName, const char *pszParmValue
break;
case P_LIST:
case P_CMDLIST:
TALLOC_FREE(*((char ***)parm_ptr));
*(char ***)parm_ptr = str_list_make_v3(
NULL, pszParmValue, NULL);