fixed a memleak.

2000-02-24  Michael Natterer  <mitch@gimp.org>

	* app/datafiles.c: fixed a memleak.

	* app/gimpbrushlist.c
	* app/gradient.c
	* app/palette.c: use the gimp_path_* functions, cleanups.

	* app/gimpbrushpipe.c: call the "destroy" function of the parent
	class, not of the object class. Fixes a huge memleak on each
	"Refresh".

	* app/gimpbrushpipeP.h
	* app/gimplist.c
	* app/gimpbrush.c: did some cleanups while searching the brush
	memleak.

	* libgimp/gimpenv.c: gimp_path_get_user_writable_dir(): return a
	copy of the string.

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gflare/gflare.c: g_free() the string returned by
	gimp_path_get_user_writable_dir().
This commit is contained in:
Michael Natterer
2000-02-24 01:52:31 +00:00
committed by Michael Natterer
parent a9df0647fc
commit 868888fe21
26 changed files with 751 additions and 809 deletions

View File

@ -168,6 +168,7 @@ datafiles_read_directories (gchar *path_str,
}
gimp_path_free (path);
g_free (local_path);
}
time_t