]> git.pld-linux.org Git - packages/DirectFB.git/blob - DirectFB-segv.patch
- don't SEGV on input driver init failure
[packages/DirectFB.git] / DirectFB-segv.patch
1 Don'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.065486 seconds and 3 git commands to generate.