Commit c84c0de7 authored by Philip Trettner's avatar Philip Trettner

Fixed cppcheck (error) Memory leak: appname

parent e6d6332a
Pipeline #770 passed with stage
......@@ -260,6 +260,7 @@ bool SpaceNavConnectToDriverMac()
OSErr result = InstallConnexionHandlers( SpaceNavCallbackMac, 0L, 0L);
if (result != noErr) {
delete[] appname;
return false;
}
g_SpaceNavClientID = RegisterConnexionClient( kConnexionClientWildcard, appname, kConnexionClientModeTakeOver, kConnexionMaskAll);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment