diff options
Diffstat (limited to 'USER')
-rw-r--r-- | USER/USER.xs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/USER/USER.xs b/USER/USER.xs index 2299131..6c2efff 100644 --- a/USER/USER.xs +++ b/USER/USER.xs @@ -91,7 +91,10 @@ void Admin_DESTROY(self) USER::ADMIN *self CODE: - lu_end(self); + if (self != NULL) { + lu_end(self); + self = NULL; + }; lu_ctx_free(self); void |