libgimp: fix a GBytes leak.

This commit is contained in:
Jehan 2023-05-26 00:30:47 +02:00
parent 671996e897
commit c5dd6e0e89
1 changed files with 1 additions and 0 deletions

View File

@ -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