Free options strings on error.

Make clang static analyzer happy.
This commit is contained in:
relan
2021-10-23 12:36:57 +03:00
parent da00dc5d05
commit a8de7e2db3
+2
View File
@@ -565,6 +565,8 @@ int main(int argc, char* argv[])
exfat_options = strdup("ro_fallback");
if (fuse_options == NULL || exfat_options == NULL)
{
free(fuse_options);
free(exfat_options);
exfat_error("failed to allocate options string");
return 1;
}