diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-09-14 21:50:35 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-09-14 21:50:35 +0200 |
commit | bab1d6596f1a8404e88e2d93092e7be1f9d4ca93 (patch) | |
tree | ca4842f418ce980984742472d32730b4e883a633 /x-plane-plugin | |
parent | b25bc9bf12fe8dffadde9e03ab1f9119a681158c (diff) |
Don't leak any memory, ever (?)
Diffstat (limited to 'x-plane-plugin')
-rw-r--r-- | x-plane-plugin/plugin.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/x-plane-plugin/plugin.c b/x-plane-plugin/plugin.c index 33023a81..9bc5c484 100644 --- a/x-plane-plugin/plugin.c +++ b/x-plane-plugin/plugin.c @@ -127,6 +127,8 @@ PLUGIN_API int XPluginStart ( char * outName, char * outSignature, char * outDes } PLUGIN_API void XPluginStop ( void ) { + if (lck_posix) + PortableLockedShm_free(lck_posix); } PLUGIN_API void XPluginEnable ( void ) { |