mirror of
https://git.planet-casio.com/Lephenixnoir/fxsdk.git
synced 2024-12-29 13:03:37 +01:00
fxlink: don't free glib pointer apparently not malloc'ed
This commit is contained in:
parent
8f50f7694a
commit
9f4d17ca4f
1 changed files with 1 additions and 2 deletions
|
@ -53,7 +53,7 @@ int main_send(struct fxlink_filter *filter, delay_t *delay, char **files)
|
||||||
printf("Mounted %s to %s.\n", dev, folder);
|
printf("Mounted %s to %s.\n", dev, folder);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
folder = strdup(mount_points[0]);
|
folder = mount_points[0];
|
||||||
printf("Already mounted at %s.\n", folder);
|
printf("Already mounted at %s.\n", folder);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -113,7 +113,6 @@ int main_send(struct fxlink_filter *filter, delay_t *delay, char **files)
|
||||||
printf("Ejected %s.\n", dev);
|
printf("Ejected %s.\n", dev);
|
||||||
|
|
||||||
end:
|
end:
|
||||||
free(folder);
|
|
||||||
if(argv) free(argv);
|
if(argv) free(argv);
|
||||||
if(fs) g_object_unref(fs);
|
if(fs) g_object_unref(fs);
|
||||||
if(drive) g_object_unref(drive);
|
if(drive) g_object_unref(drive);
|
||||||
|
|
Loading…
Reference in a new issue