Commit c50a5d13 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

libvlc-control: call vlm_MessageDelete (CID 97-100)

parent acbb80d1
...@@ -87,6 +87,7 @@ void libvlc_vlm_del_media( libvlc_instance_t *p_instance, char *psz_name, ...@@ -87,6 +87,7 @@ void libvlc_vlm_del_media( libvlc_instance_t *p_instance, char *psz_name,
libvlc_exception_raise( p_exception, "Unable to delete %s", libvlc_exception_raise( p_exception, "Unable to delete %s",
psz_name ); psz_name );
} }
vlm_MessageDelete( answer );
free( psz_message); free( psz_message);
#endif #endif
} }
...@@ -251,6 +252,7 @@ void libvlc_vlm_play_media( libvlc_instance_t *p_instance, char *psz_name, ...@@ -251,6 +252,7 @@ void libvlc_vlm_play_media( libvlc_instance_t *p_instance, char *psz_name,
libvlc_exception_raise( p_exception, "Unable to play %s", libvlc_exception_raise( p_exception, "Unable to play %s",
psz_name ); psz_name );
} }
vlm_MessageDelete( answer );
free( psz_message); free( psz_message);
#endif #endif
} }
...@@ -269,6 +271,7 @@ void libvlc_vlm_stop_media( libvlc_instance_t *p_instance, char *psz_name, ...@@ -269,6 +271,7 @@ void libvlc_vlm_stop_media( libvlc_instance_t *p_instance, char *psz_name,
libvlc_exception_raise( p_exception, "Unable to stop %s", libvlc_exception_raise( p_exception, "Unable to stop %s",
psz_name ); psz_name );
} }
vlm_MessageDelete( answer );
free( psz_message); free( psz_message);
#endif #endif
} }
...@@ -287,6 +290,7 @@ void libvlc_vlm_pause_media( libvlc_instance_t *p_instance, char *psz_name, ...@@ -287,6 +290,7 @@ void libvlc_vlm_pause_media( libvlc_instance_t *p_instance, char *psz_name,
libvlc_exception_raise( p_exception, "Unable to pause %s", libvlc_exception_raise( p_exception, "Unable to pause %s",
psz_name ); psz_name );
} }
vlm_MessageDelete( answer );
free( psz_message); free( psz_message);
#endif #endif
} }
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