1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-28 22:10:29 +02:00

Remove some uses of scm_gc_free

* libguile/i18n.c (scm_make_locale):
* libguile/random.c (scm_c_random_bignum):
* libguile/regex-posix.c (regex_free):
(scm_make_regexp):
* libguile/srfi-14.c (scm_i_charset_unset, charsets_intersection)
(charsets_complement): Remove calls to scm_gc_free.
This commit is contained in:
Andy Wingo 2025-04-23 15:15:57 +02:00
parent 23d204b5a0
commit befac2cf85
4 changed files with 4 additions and 23 deletions

View file

@ -1,4 +1,4 @@
/* Copyright 2006-2014,2017-2019
/* Copyright 2006-2014,2017-2019,2025
Free Software Foundation, Inc.
This file is part of Guile.
@ -721,9 +721,6 @@ SCM_DEFINE (scm_make_locale, "make-locale", 2, 1, 0,
return locale;
fail:
#ifndef USE_GNU_LOCALE_API
scm_gc_free (c_locale, sizeof (* c_locale), "locale");
#endif
free (c_locale_name);
scm_locale_error (FUNC_NAME, err);