From: <sba...@us...> - 2024-10-19 07:54:20
|
This is an automated email from the git hooks/post-receive-user script. sbaldovi pushed a commit to branch master in repository fuse. View the commit online: https://sourceforge.net/p/fuse-emulator/fuse/ci/9b8343b71f3ea774e12fdfb8d9e4f4799c7b23e6/ commit 9b8343b71f3ea774e12fdfb8d9e4f4799c7b23e6 Author: Alberto Garcia <be...@ig...> AuthorDate: Sat Oct 12 01:23:25 2024 +0200 Don't leak tape_marker_pixbuf when the tape browser is closed --- ui/gtk/browse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/gtk/browse.c b/ui/gtk/browse.c index 257b2205..b2211b6e 100644 --- a/ui/gtk/browse.c +++ b/ui/gtk/browse.c @@ -156,7 +156,7 @@ create_dialog( void ) /* The tape marker pixbuf */ tape_marker_pixbuf = gdk_pixbuf_new_from_resource( ICON_TAPE_MARKER, NULL ); - /* FIXME: unref this at exit */ + g_object_weak_ref( G_OBJECT( dialog ), (GWeakNotify) g_clear_object, &tape_marker_pixbuf ); /* And the list itself */ blocks = create_block_list(); |