Permalink
Browse files

Fixed memory over release in pro_stdio.

  • Loading branch information...
mattbierner committed Apr 16, 2012
1 parent 41196b8 commit bd3f605a66566afd13e84fcc3167a43d670e175b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/pro_stdio.c
View
@@ -26,7 +26,7 @@ static void stdio_behavior_impl(pro_state_ref s,
pro_ud_read(s, ud, (const void**)&string);
fprintf(stdout, "%s\n", string);
- alloc(string, 0);
+ pro_release(s, ud);
pro_release(s, arg);
}
fflush(stdout);

0 comments on commit bd3f605

Please sign in to comment.