git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0c255a
)
workaround for win32 segfault in gfx.c:asImage
author
kramm
<kramm>
Wed, 12 Mar 2008 19:07:07 +0000
(19:07 +0000)
committer
kramm
<kramm>
Wed, 12 Mar 2008 19:07:07 +0000
(19:07 +0000)
lib/devices/render.c
patch
|
blob
|
history
diff --git
a/lib/devices/render.c
b/lib/devices/render.c
index
88e33ae
..
d9cca51
100644
(file)
--- a/
lib/devices/render.c
+++ b/
lib/devices/render.c
@@
-752,10
+752,15
@@
void render_result_destroy(gfxresult_t*r)
while(i) {
internal_result_t*next = i->next;
free(i->img.data);i->img.data = 0;
- free(i);
+
+ /* FIXME memleak
+ the following rfx_free causes a segfault on WIN32 machines,
+ if executed */
+ //rfx_free(i);
+
i = next;
}
- free(r);
+ rfx_free(r);
}
gfxresult_t* render_finish(struct _gfxdevice*dev)