diff options
author | Andy Wingo <wingo@pobox.com> | 2012-02-08 12:25:10 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2012-02-08 12:25:10 +0100 |
commit | bbabae997d7e83e0382d086ce2e0ed82b61c2a7e (patch) | |
tree | 2ca3bf0f1d4928ac3241cedf68ed2154ca946918 | |
parent | 0858753e829fd399b55700688b4b2cb9c3ea6908 (diff) | |
parent | 4fbbf346a654e84f89008e1800e8f867fde57462 (diff) | |
download | guile-bbabae997d7e83e0382d086ce2e0ed82b61c2a7e.tar.gz |
Merge remote-tracking branch 'origin/stable-2.0'
-rw-r--r-- | libguile/i18n.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libguile/i18n.c b/libguile/i18n.c index 057711fdb..817c66198 100644 --- a/libguile/i18n.c +++ b/libguile/i18n.c @@ -232,7 +232,8 @@ SCM_SMOB_FREE (scm_tc16_locale_smob_type, smob_locale_free, locale) 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; } |