diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/shared-folder/share-folder-common.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/shared-folder/share-folder-common.c b/plugins/shared-folder/share-folder-common.c index 1d2dd633f8..599b04ed2a 100644 --- a/plugins/shared-folder/share-folder-common.c +++ b/plugins/shared-folder/share-folder-common.c @@ -83,6 +83,10 @@ shared_folder_commit (EPlugin *ep, EConfigTarget *target) void shared_folder_abort (EPlugin *ep, EConfigTarget *target) { + if (common) { + share_folder (common); + g_object_run_dispose (common); + } printf ("aborttttttt**********\n"); } @@ -348,8 +352,6 @@ org_gnome_shared_folder_factory (EPlugin *ep, EConfigHookItemFactoryData *hook_d id = NULL; } - g_free (folderuri); - if (cnc && id) sharing_tab = share_folder_new (cnc, id); else |