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 memory leaks that slipped in here and there. We still have 100,000
fewer than Firefox, lol.
tags/v0.99.beta14
Sam Hocevar
sam
17 years ago
parent
9c72677ccf
commit
a7debae6f9
4 changed files
with
6 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
cucul/cucul.c
+1
-0
cxx/cxxtest.cpp
+1
-0
test/event.c
+2
-0
test/gamma.c
+ 2
- 0
cucul/cucul.c
View File
@@ -128,6 +128,8 @@ int cucul_manage_canvas(cucul_canvas_t *cv, int (*callback)(void *), void *p)
return -1;
}
cv->resize_callback = callback;
cv->resize_data = p;
cv->refcount = 1;
return 0;
+ 1
- 0
cxx/cxxtest.cpp
View File
@@ -106,6 +106,7 @@ int main(int argc, char *argv[])
}
delete dp;
delete pig;
delete cv;
return 0;
+ 1
- 0
test/event.c
View File
@@ -111,6 +111,7 @@ int main(int argc, char **argv)
}
/* Clean up */
free(events);
caca_free_display(dp);
cucul_free_canvas(cv);
+ 2
- 0
test/gamma.c
View File
@@ -122,6 +122,8 @@ int main(int argc, char *argv[])
cucul_free_dither(right);
caca_free_display(dp);
cucul_free_canvas(mask);
cucul_free_canvas(cw);
cucul_free_canvas(cv);
return 0;
Write
Preview
Loading…
Cancel
Save