]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/cdromutl.cc
Do not consider SHA1 usable
[apt.git] / apt-pkg / contrib / cdromutl.cc
index 6eb917457c62c9c45d5dafee59955385ae3113c5..428ef01616383b210ac1981b0e4d44fef38cf1ec 100644 (file)
@@ -287,9 +287,11 @@ string FindMountPointForDevice(const char *devnode)
            fclose(f);
            // unescape the \0XXX chars in the path
            string mount_point = out[1];
+           free(line);
            return DeEscapeString(mount_point);
         }
         fclose(f);
+        free(line);
       }
 
    return string();