mirror of https://github.com/GNOME/gimp.git
libgimp: fix a GBytes leak.
This commit is contained in:
parent
671996e897
commit
c5dd6e0e89
|
@ -360,6 +360,7 @@ gimp_procedure_install_icon (GimpProcedure *procedure)
|
||||||
if (icon_bytes)
|
if (icon_bytes)
|
||||||
_gimp_pdb_set_proc_icon (gimp_procedure_get_name (procedure),
|
_gimp_pdb_set_proc_icon (gimp_procedure_get_name (procedure),
|
||||||
icon_type, icon_bytes);
|
icon_type, icon_bytes);
|
||||||
|
g_bytes_unref (icon_bytes);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue