app: don't leak the rotate transform matrices when destroying the shell

This commit is contained in:
Michael Natterer 2013-04-21 02:40:41 +02:00
parent ee2e5fb517
commit 81e293cb06
1 changed files with 6 additions and 0 deletions

View File

@ -843,6 +843,12 @@ gimp_display_shell_finalize (GObject *object)
g_object_unref (shell->zoom);
if (shell->rotate_transform)
g_free (shell->rotate_transform);
if (shell->rotate_untransform)
g_free (shell->rotate_untransform);
if (shell->options)
g_object_unref (shell->options);