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