[vlc-commits] fix memory leak

Rafaël Carré git at videolan.org
Thu May 19 05:42:59 CEST 2011


vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Wed May 18 21:59:44 2011 -0400| [a542f70f00f49d8975a62725d07ff0ceeb520541] | committer: Rafaël Carré

fix memory leak

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

 modules/control/dbus/dbus_player.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/control/dbus/dbus_player.c b/modules/control/dbus/dbus_player.c
index 87a99b6..de2db5a 100644
--- a/modules/control/dbus/dbus_player.c
+++ b/modules/control/dbus/dbus_player.c
@@ -114,6 +114,7 @@ DBUS_METHOD( SetPosition )
                 position.i_time = (mtime_t) i_pos;
                 var_Set( p_input, "time", position );
             }
+            free( psz_trackid );
         }
 
         vlc_object_release( p_input );



More information about the vlc-commits mailing list