Skip to content
Browse files

Fixed memory over release in pro_stdio.

  • Loading branch information...
1 parent 41196b8 commit bd3f605a66566afd13e84fcc3167a43d670e175b @mattbierner mattbierner committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/pro_stdio.c
View
2 src/pro_stdio.c
@@ -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.
Something went wrong with that request. Please try again.