projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e1e18a
)
python: Hack to prevent segmentation faults when python exits.
author
José Fonseca
<jfonseca@vmware.com>
Thu, 16 Jul 2009 10:21:12 +0000
(11:21 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Thu, 16 Jul 2009 10:22:56 +0000
(11:22 +0100)
src/gallium/state_trackers/python/st_device.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/python/st_device.c
b/src/gallium/state_trackers/python/st_device.c
index 8246b378ce0851e9b8afb471d5f4e4ba4e9bb32f..ea7d18738f69a19ba12a9c4d381195ad3a9d94db 100644
(file)
--- a/
src/gallium/state_trackers/python/st_device.c
+++ b/
src/gallium/state_trackers/python/st_device.c
@@
-44,8
+44,14
@@
static void
st_device_really_destroy(struct st_device *st_dev)
{
- if(st_dev->screen)
+ if(st_dev->screen) {
+ /* FIXME: Don't really destroy until we keep track of every single
+ * reference or we end up causing a segmentation fault every time
+ * python exits. */
+#if 0
st_dev->screen->destroy(st_dev->screen);
+#endif
+ }
FREE(st_dev);
}