Bernhard Fischer spotted that we shouldn't free fstype if we didn't allocate
authorRob Landley <rob@landley.net>
Tue, 28 Mar 2006 19:19:19 +0000 (19:19 -0000)
committerRob Landley <rob@landley.net>
Tue, 28 Mar 2006 19:19:19 +0000 (19:19 -0000)
it.

util-linux/mount.c

index f0b4d3831ba962e6655269e9f5ddbecdfc8c514d..1b6ff965bc539ed5ca3acbee14a97caf1248a551 100644 (file)
@@ -548,7 +548,6 @@ clean_up:
        if (ENABLE_FEATURE_CLEAN_UP) {
                free(storage_path);
                free(cmdopts);
-               free(fstype);
        }
 
        if(rc)