Commit 8de5a5b7 authored by Rémi Duraffort's avatar Rémi Duraffort

Fix memory leak (cid #1049575)

parent 32eec09b
......@@ -492,6 +492,7 @@ char *str_format_time( const char *tformat )
char *ret = realloc (str, len + 1);
return ret ? ret : str; /* <- this cannot fail */
}
free (str);
}
assert (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