]> git.pld-linux.org Git - packages/DirectFB.git/blame - DirectFB-segv.patch
- don't SEGV on input driver init failure
[packages/DirectFB.git] / DirectFB-segv.patch
CommitLineData
0446c880
JB
1Don't try to free shared->reactor before it's allocated.
2
3--- DirectFB-0.9.23/src/core/input.c.orig 2004-11-23 20:11:43.000000000 +0100
4+++ DirectFB-0.9.23/src/core/input.c 2005-10-23 13:46:03.087199224 +0200
5@@ -732,7 +732,6 @@
6 D_MAGIC_SET( device, CoreInputDevice );
7
8 if (funcs->OpenDevice( device, n, &device_info, &driver_data )) {
9- fusion_reactor_free( shared->reactor );
10 SHFREE( shared );
11 D_MAGIC_CLEAR( device );
12 D_FREE( device );
This page took 0.023583 seconds and 4 git commands to generate.