Ticket #31814: patch-src_js_jsMacOSX.cxx.diff
File patch-src_js_jsMacOSX.cxx.diff, 451 bytes (added by zakalawe@…, 13 years ago) |
---|
-
src/js/jsMacOSX.cxx
old new 261 261 262 262 void jsJoystick::close() 263 263 { 264 if (os->hidDev != NULL) (*(os->hidDev))->close(os->hidDev); 265 if (os) delete os; 264 if (os) { 265 if (os->hidDev) (*(os->hidDev))->close(os->hidDev); 266 delete os; 267 os = NULL; 268 } 266 269 } 267 270 268 271 /** element enumerator function : pass NULL for top-level*/