Skip to content

Commit

Permalink
Fixing small memory leak.
Browse files Browse the repository at this point in the history
Freeing volume_monitor per GIO documentation.
  • Loading branch information
btryba authored and mtwebster committed Nov 25, 2020
1 parent 14fa4e2 commit 95740d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/nemo-pathbar.c
Original file line number Diff line number Diff line change
Expand Up @@ -1601,6 +1601,7 @@ setup_file_path_mounted_mount (GFile *location, ButtonData *button_data)
g_object_unref (root);
}
g_list_free_full (mounts, g_object_unref);
g_object_unref (volume_monitor);
return result;
}

Expand Down

0 comments on commit 95740d1

Please sign in to comment.