Commit 28251be0 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

use g_free() to release memory allocated using g_malloc().

2005-01-03  Sven Neumann  <neumann@jpk.com>

	* plug-ins/ifscompose/ifscompose.c: use g_free() to release memory
	allocated using g_malloc().
parent 8e1a1073
2005-01-03 Sven Neumann <neumann@jpk.com>
* plug-ins/ifscompose/ifscompose.c: use g_free() to release memory
allocated using g_malloc().
2005-01-03 Michael Natterer <mitch@gimp.org>
* app/display/gimpdisplayshell-autoscroll.c
......
......@@ -36,7 +36,6 @@
#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
......@@ -2420,11 +2419,11 @@ ifsfile_replace_ifsvals (IfsComposeVals *new_ifsvals,
{
gdouble width = ifsDesign->area->allocation.width;
gdouble height = ifsDesign->area->allocation.height;
guint i;
guint i;
for (i = 0; i < ifsvals.num_elements; i++)
aff_element_free (elements[i]);
free(elements);
g_free (elements);
ifsvals = *new_ifsvals;
elements = new_elements;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment