Commit fae03b97 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont Committed by Jean-Baptiste Kempf

str_format_meta: missing initializer on error path

(cherry picked from commit b592e72f5c2a7f7798ca91b3ce46e19257bd9a36)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 169a772a
......@@ -818,6 +818,8 @@ char *str_format_meta(input_thread_t *input, const char *s)
fread(str, len, 1, stream);
str[len] = '\0';
}
else
str = NULL;
fclose(stream);
return str;
#endif
......
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