minor memleak fixes

parent 4a3bca70
......@@ -2362,6 +2362,7 @@ static void InitDeviceValues( vlc_t *p_vlc )
hal_free_string( block_dev );
}
hal_free_string_array( devices );
}
hal_shutdown( ctx );
......
......@@ -209,6 +209,8 @@ void __msg_Unsubscribe( vlc_object_t *p_this, msg_subscription_t *p_sub )
/* Remove this subscription */
REMOVE_ELEM( p_bank->pp_sub, p_bank->i_sub, i_index );
free( p_sub );
vlc_mutex_unlock( &p_bank->lock );
}
......
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