[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.5-30-g4fbbf3

From: Andy Wingo
Subject: [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.5-30-g4fbbf34
Date: Wed, 08 Feb 2012 11:21:46 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".

The branch, stable-2.0 has been updated
       via  4fbbf346a654e84f89008e1800e8f867fde57462 (commit)
      from  817307ccac5027fd784798bbbf6ffb52e0a5d751 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 4fbbf346a654e84f89008e1800e8f867fde57462
Author: Andy Wingo <address@hidden>
Date:   Wed Feb 8 12:20:09 2012 +0100

    i18: avoid freelocale (NULL)
    * libguile/i18n.c (smob_locale_free): Don't freelocale (NULL).


Summary of changes:
 libguile/i18n.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/libguile/i18n.c b/libguile/i18n.c
index 057711f..817c661 100644
--- a/libguile/i18n.c
+++ b/libguile/i18n.c
@@ -232,7 +232,8 @@ SCM_SMOB_FREE (scm_tc16_locale_smob_type, smob_locale_free, 
   scm_t_locale c_locale;
   c_locale = (scm_t_locale) SCM_SMOB_DATA (locale);
-  freelocale (c_locale);
+  if (c_locale)
+    freelocale (c_locale);
   return 0;

GNU Guile

reply via email to

[Prev in Thread] Current Thread [Next in Thread]