Permalink
Browse files

Free memory

  • Loading branch information...
1 parent b5c5580 commit 6b86e4da2e32ed51e8a2b0afca07bb9402e51b5c @singpolyma committed Mar 17, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 rpnr.l
View
@@ -98,6 +98,8 @@ int main(void) {
puts("require 'rpnr-runtime'");
for(i = 0; i < stack_length; i++) {
puts(stack[i]);
+ free(stack[i]);
}
+ free(stack);
return r;
}

0 comments on commit 6b86e4d

Please sign in to comment.