Skip to content

Commit

Permalink
prevent crash by resetting common pointer after deleting gobject menu
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu Gallien <[email protected]>
  • Loading branch information
mgallien committed Jun 28, 2023
1 parent 0a65df1 commit 43f9755
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/cloudproviders/cloudproviderwrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ CloudProviderWrapper::~CloudProviderWrapper()
g_object_unref(_cloudProviderAccount);
g_object_unref(_mainMenu);
g_object_unref(actionGroup);
actionGroup = nullptr;
g_object_unref(_recentMenu);
}

Expand Down

0 comments on commit 43f9755

Please sign in to comment.