comparison src/file-coding.c @ 945:7924b28c57a4

[xemacs-hg @ 2002-08-01 08:38:32 by michaels] 2002-07-31 Didier Verna <didier@xemacs.org> * file-coding.c (make_coding_system_1): Add missing call to `xfree (newname)'. * fix memory leak introduced by 2002-04-14 Ben Wing <ben@xemacs.org>: alloc.c (Fmake_byte_code): don't xnew_array of size 0. (sweep_compiled_functions): define ADDITIONAL_FREE_compiled_function to free the args field when needed.
author michaels
date Thu, 01 Aug 2002 08:38:48 +0000
parents c925bacdda60
children e22b0213b713
comparison
equal deleted inserted replaced
944:d7603d225813 945:7924b28c57a4
1174 xfree (newname); 1174 xfree (newname);
1175 } 1175 }
1176 1176
1177 newname = emacs_sprintf_malloc (NULL, "Int%d", coding_system_tick); 1177 newname = emacs_sprintf_malloc (NULL, "Int%d", coding_system_tick);
1178 defmnem = build_intstring (newname); 1178 defmnem = build_intstring (newname);
1179 xfree (newname);
1179 } 1180 }
1180 else 1181 else
1181 CHECK_SYMBOL (name_or_existing); 1182 CHECK_SYMBOL (name_or_existing);
1182 1183
1183 if (!NILP (Ffind_coding_system (name_or_existing))) 1184 if (!NILP (Ffind_coding_system (name_or_existing)))