Commit b36ed57c authored by Rémi Duraffort's avatar Rémi Duraffort

panoramix: fix memleak.

parent 6a4c2d79
......@@ -344,6 +344,7 @@ static unsigned CountMonitors( vlc_object_t *obj )
char *psz_display = var_CreateGetNonEmptyString( obj, "x11-display" );
int snum;
xcb_connection_t *conn = xcb_connect( psz_display, &snum );
free( psz_display );
if( xcb_connection_has_error( conn ) )
return 0;
......
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