Coverity: Don't leak error strings.

This commit is contained in:
Richard W.M. Jones
2011-06-08 22:16:59 +01:00
parent 7fae594df7
commit 3135b8c378
5 changed files with 14 additions and 3 deletions

View File

@@ -56,6 +56,7 @@ do_ntfs_3g_probe (int rw, const char *device)
return -1;
}
free (err);
return r;
}
@@ -72,6 +73,7 @@ do_ntfsresize (const char *device)
return -1;
}
free (err);
return 0;
}
@@ -92,5 +94,6 @@ do_ntfsresize_size (const char *device, int64_t size)
return -1;
}
free (err);
return 0;
}