app: Fix a dynamics leak from new pdb fix

This commit is contained in:
Alexia Death 2011-03-19 22:48:17 +02:00
parent 5d5430e110
commit ce606d9561
2 changed files with 4 additions and 0 deletions

View File

@ -713,6 +713,8 @@ paintbrush_invoker (GimpProcedure *procedure,
NULL); NULL);
gimp_context_set_dynamics (context, user_dynamics); gimp_context_set_dynamics (context, user_dynamics);
g_object_unref (pdb_dynamics);
} }
else else
success = FALSE; success = FALSE;

View File

@ -638,6 +638,8 @@ HELP
NULL); NULL);
gimp_context_set_dynamics (context, user_dynamics); gimp_context_set_dynamics (context, user_dynamics);
g_object_unref (pdb_dynamics);
} }
else else
success = FALSE; success = FALSE;