gegl r2063 - in trunk: . gegl/buffer
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gegl r2063 - in trunk: . gegl/buffer
- Date: Tue, 19 Feb 2008 12:34:55 +0000 (GMT)
Author: neo
Date: Tue Feb 19 12:34:55 2008
New Revision: 2063
URL: http://svn.gnome.org/viewvc/gegl?rev=2063&view=rev
Log:
2008-02-19 Sven Neumann <sven gimp org>
* gegl/buffer/gegl-buffer-allocator.c (gegl_swap_dir): check for
swap_dir != NULL before accessing it.
Modified:
trunk/ChangeLog
trunk/gegl/buffer/gegl-buffer-allocator.c
Modified: trunk/gegl/buffer/gegl-buffer-allocator.c
==============================================================================
--- trunk/gegl/buffer/gegl-buffer-allocator.c (original)
+++ trunk/gegl/buffer/gegl-buffer-allocator.c Tue Feb 19 12:34:55 2008
@@ -136,7 +136,7 @@
{
static gchar *swapdir = "";
- if (swapdir[0] == '\0')
+ if (swapdir && swapdir[0] == '\0')
{
if (g_getenv ("GEGL_SWAP"))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]