Revision: 4424 http://trac.macosforge.org/projects/ruby/changeset/4424 Author: lsansonetti@apple.com Date: 2010-08-11 18:23:10 -0700 (Wed, 11 Aug 2010) Log Message: ----------- remove extra frees Modified Paths: -------------- MacRuby/trunk/bs.c Modified: MacRuby/trunk/bs.c =================================================================== --- MacRuby/trunk/bs.c 2010-08-11 22:26:06 UTC (rev 4423) +++ MacRuby/trunk/bs.c 2010-08-12 01:23:10 UTC (rev 4424) @@ -1111,11 +1111,9 @@ // Function ptr return type strlcpy(tmp_type, func_ptr->retval->type, sizeof(tmp_type)); - free(func_ptr->retval->type); // Function ptr args for (i = 0; i < func_ptr->args_count; i++) { strlcat(tmp_type, fptr_args[i].type, sizeof(tmp_type)); - free(fptr_args[i].type); } // Clear the final type string memset(new_type, 0, sizeof(new_type));
participants (1)
-
source_changes@macosforge.org