mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-18 07:50:04 +00:00
modules: break when finding the right module
This way, we don't use the wrong module. In particular we don't screw up refcounts that lead to crashes later on.
This commit is contained in:
parent
308d195014
commit
ab6007f052
@ -281,6 +281,7 @@ load_module (GSList *module_list,
|
||||
info->ref_count++;
|
||||
|
||||
success = TRUE;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user