udev: memory leak
authorRémi Denis-Courmont <remi@remlab.net>
Fri, 16 Oct 2009 15:32:44 +0000 (18:32 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Fri, 16 Oct 2009 15:34:11 +0000 (18:34 +0300)
modules/services_discovery/udev.c

index 708e800..9e07d61 100644 (file)
@@ -163,7 +163,7 @@ static void *Run (void *data)
         else if (!strcmp (udev_device_get_action (dev), "remove"))
             HandleDevice (sd, dev, false);
 
-        //udev_device_unref (dev);
+        udev_device_unref (dev);
     }
     return NULL;
 }