]> git.sesse.net Git - vlc/commitdiff
hal: fix memleak.
authorRémi Duraffort <ivoire@videolan.org>
Wed, 25 Mar 2009 14:56:51 +0000 (15:56 +0100)
committerRémi Duraffort <ivoire@videolan.org>
Wed, 25 Mar 2009 14:56:51 +0000 (15:56 +0100)
modules/services_discovery/hal.c

index 2765b007f575af5c1c0259adb8444db4837c7b96..11ff2284f34137c2306cbb75614359aac08ef094 100644 (file)
@@ -315,6 +315,7 @@ static void *Run( void *data )
             ParseDevice( p_sd, devices[ i ] );
             libhal_free_string( devices[ i ] );
         }
+        free( devices );
     }
 
     /* FIXME: Totally lame. There are DBus watch functions to do this properly.