mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 18:51:11 +00:00
realmedia: fix leak in asmrules error code path
https://bugzilla.gnome.org/show_bug.cgi?id=787056
This commit is contained in:
parent
c3cf7ab5c4
commit
38b198255f
1 changed files with 1 additions and 0 deletions
|
@ -543,6 +543,7 @@ gst_asm_scan_parse_property (GstASMRule * rule, GstASMScan * scan)
|
||||||
gst_asm_scan_next_token (scan);
|
gst_asm_scan_next_token (scan);
|
||||||
if (scan->token != GST_ASM_TOKEN_EQUAL) {
|
if (scan->token != GST_ASM_TOKEN_EQUAL) {
|
||||||
g_warning ("= expected");
|
g_warning ("= expected");
|
||||||
|
g_free (key);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
gst_asm_scan_next_token (scan);
|
gst_asm_scan_next_token (scan);
|
||||||
|
|
Loading…
Reference in a new issue