]> git.tdb.fi Git - pmount-gui.git/commitdiff
Free device descriptions
authorMikko Rasa <tdb@tdb.fi>
Fri, 5 Oct 2012 22:50:47 +0000 (01:50 +0300)
committerMikko Rasa <tdb@tdb.fi>
Fri, 5 Oct 2012 22:50:47 +0000 (01:50 +0300)
main.c

diff --git a/main.c b/main.c
index 62d6a6cd5619c1414520587b3687dbd0e749ead7..55cfe0fa46805396582c39ca7fffd8729cf27490 100644 (file)
--- a/main.c
+++ b/main.c
@@ -399,6 +399,7 @@ void free_devices(Device *devices)
        {
                free(devices[i].node);
                free(devices[i].label);
+               free(devices[i].description);
        }
        free(devices);
 }