mirror of
https://github.com/xorgy/mediafire-fuse
synced 2026-01-13 21:24:28 -08:00
fix segmentation fault when quitting without logging in
This commit is contained in:
@@ -149,6 +149,7 @@ void mfshell_destroy(mfshell * shell)
|
|||||||
free(shell->server);
|
free(shell->server);
|
||||||
free(shell->local_working_dir);
|
free(shell->local_working_dir);
|
||||||
folder_free(shell->folder_curr);
|
folder_free(shell->folder_curr);
|
||||||
|
if (shell->conn != NULL)
|
||||||
mfconn_destroy(shell->conn);
|
mfconn_destroy(shell->conn);
|
||||||
free(shell);
|
free(shell);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user