Commit 7f1ae44e authored by Rémi Duraffort's avatar Rémi Duraffort

hal: fix memleak.

parent 44b96fd1
...@@ -315,6 +315,7 @@ static void *Run( void *data ) ...@@ -315,6 +315,7 @@ static void *Run( void *data )
ParseDevice( p_sd, devices[ i ] ); ParseDevice( p_sd, devices[ i ] );
libhal_free_string( devices[ i ] ); libhal_free_string( devices[ i ] );
} }
free( devices );
} }
/* FIXME: Totally lame. There are DBus watch functions to do this properly. /* FIXME: Totally lame. There are DBus watch functions to do this properly.
......
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