Commit 70bd7e61 authored by Sébastien Escudier's avatar Sébastien Escudier Committed by Rémi Denis-Courmont

Do not leak exception message

Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <remi@remlab.net>
parent dc38bb20
......@@ -89,6 +89,8 @@ void libvlc_exception_raise( libvlc_exception_t *p_exception,
/* Print something, so that lazy third-parties can easily
* notice that something may have gone unnoticedly wrong */
libvlc_exception_not_handled( psz );
if( psz != nomemstr )
free( psz );
return;
}
......
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