--- qtparted-0.4.5.orig/src/qp_libparted.cpp +++ qtparted-0.4.5/src/qp_libparted.cpp @@ -1748,11 +1748,11 @@ label.latin1(), path) != PED_EXCEPTION_IGNORE) goto error_free_path; } - ped_free(path); + free(path); return true; error_free_path: - ped_free(path); + free(path); //error: return false;