discover: Add missing udev_destroy call
authorGeoff Levand <geoff@infradead.org>
Sun, 21 Apr 2013 15:31:04 +0000 (08:31 -0700)
committerGeoff Levand <geoff@infradead.org>
Sun, 21 Apr 2013 15:31:51 +0000 (08:31 -0700)
Signed-off-by: Geoff Levand <geoff@infradead.org>
discover/pb-discover.c

index c83b5747ee0ded939f69df4bbe5976fe51f9be20..ffe4a12ee050b00abd4f2b9e8a612a8f297e4cbb 100644 (file)
@@ -175,6 +175,7 @@ int main(int argc, char *argv[])
 
        device_handler_destroy(handler);
        waitset_destroy(waitset);
+       udev_destroy(udev);
 
        pb_log("--- end ---\n");