[vlc-devel] commit: libvlc-control: call vlm_MessageDelete (CID 97-100) ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat May 31 22:01:20 CEST 2008


vlc | branch: 0.8.6-bugfix | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sat May 31 23:03:00 2008 +0300| [c50a5d1319c7f9d025e3a7b243247735c2333451]

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

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c50a5d1319c7f9d025e3a7b243247735c2333451
---

 src/control/vlm.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/control/vlm.c b/src/control/vlm.c
index 6e49847..ab3c7df 100644
--- a/src/control/vlm.c
+++ b/src/control/vlm.c
@@ -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",
                                 psz_name );
     }
+    vlm_MessageDelete( answer );
     free( psz_message);
 #endif
 }
@@ -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",
                                 psz_name );
     }
+    vlm_MessageDelete( answer );
     free( psz_message);
 #endif
 }
@@ -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",
                                 psz_name );
     }
+    vlm_MessageDelete( answer );
     free( psz_message);
 #endif
 }
@@ -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",
                                 psz_name );
     }
+    vlm_MessageDelete( answer );
     free( psz_message);
 #endif
 }




More information about the vlc-devel mailing list