conf: cleanup macros parse_propagationopts

parent bda1c3fc
......@@ -1912,7 +1912,8 @@ static void parse_propagationopt(char *opt, unsigned long *flags)
int parse_propagationopts(const char *mntopts, unsigned long *pflags)
{
char *p, *s;
__do_free char *s = NULL;
char *p;
if (!mntopts)
return 0;
......@@ -1926,7 +1927,6 @@ int parse_propagationopts(const char *mntopts, unsigned long *pflags)
*pflags = 0L;
lxc_iterate_parts(p, s, ",")
parse_propagationopt(p, pflags);
free(s);
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment