Permalink
Browse files

- Fixed memory leak on imcc_compile_buffer_safe() function (#2141)

  • Loading branch information...
1 parent 23a0a42 commit 9496b71e3abda755c37a1956d19cb6df639de4e3 @felipensp felipensp committed Jul 14, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 compilers/imcc/imcc.l
@@ -1351,8 +1351,8 @@ imcc_cleanup_input(ARGMOD(imc_info_t * imcc), PIOHANDLE file,
{
if (is_file)
PIO_CLOSE(imcc->interp, file);
- else
- Parrot_str_free_cstring(source_c);
+
+ Parrot_str_free_cstring(source_c);
}
INTVAL

0 comments on commit 9496b71

Please sign in to comment.