summaryrefslogtreecommitdiffhomepage
path: root/x-plane-plugin
diff options
context:
space:
mode:
Diffstat (limited to 'x-plane-plugin')
-rw-r--r--x-plane-plugin/plugin.c2
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 ) {