projects
/
ppcskel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed memory leak (in a few h memory would be full)
[ppcskel.git]
/
main.c
diff --git
a/main.c
b/main.c
index 13524d596aecf14fbccb691affde6e0708ec04fe..6c30ab6cbdee73d17f98ecfe64b38f49cc25cb23 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-189,6
+189,7
@@
int main(void)
y = STDOUT_BORDER_TOP;
}
}
+ free(k);
if(j > 0) { /* when there was any printable stuff, show it */
print_str_noscroll(old_x, old_y, str);
printf("y: %d\n", y);