diff --git a/src/dialogs/gb-new-project-dialog.c b/src/dialogs/gb-new-project-dialog.c
index dfa7e91..fd72748 100644
--- a/src/dialogs/gb-new-project-dialog.c
+++ b/src/dialogs/gb-new-project-dialog.c
@@ -211,12 +211,12 @@ gb_new_project_dialog__clone_worker (GTask        *task,
   ggit_clone_options_set_is_bare (clone_options, FALSE);
   ggit_clone_options_set_checkout_branch (clone_options, "master");
   ggit_clone_options_set_fetch_options (clone_options, fetch_options);
-  ggit_fetch_options_free (fetch_options);
+  g_object_unref (fetch_options);
 
   repository = ggit_repository_clone (req->uri, req->location, clone_options, &error);
 
   g_object_unref (callbacks);
-  ggit_clone_options_free (clone_options);
+  g_object_unref (clone_options);
 
   if (repository == NULL)
     {
