This website works better with JavaScript.
Home
Help
Sign In
cacalabs
/
libcaca
mirror of
https://github.com/cacalabs/libcaca.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
7
Wiki
Activity
Browse Source
* Fix minor memory leak in cucul_set_canvas_boundaries().
tags/v0.99.beta14
Sam Hocevar
sam
18 years ago
parent
e366c39223
commit
5810f430d7
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
cucul/canvas.c
+ 2
- 0
cucul/canvas.c
View File
@@ -337,6 +337,8 @@ int cucul_set_canvas_boundaries(cucul_canvas_t *cv, int x, int y,
free(cv->allchars[f]);
free(cv->allattr[f]);
}
free(cv->allchars);
free(cv->allattr);
memcpy(cv, new, sizeof(cucul_canvas_t));
free(new);
Write
Preview
Loading…
Cancel
Save