rtsp: Don't leak authorization string

This commit is contained in:
Edward Hervey 2016-11-28 16:51:23 +01:00 committed by Edward Hervey
parent 010b9547d3
commit fb4856c839

View file

@ -1232,6 +1232,8 @@ gst_rtsp_auth_credentials_free (GstRTSPAuthCredential ** credentials)
} }
g_free ((*p)->params); g_free ((*p)->params);
} }
if ((*p)->authorization)
g_free ((*p)->authorization);
g_free (*p); g_free (*p);
p++; p++;
} }