From a40f88513eafd06bdbcca0629f64f437e93c0703 Mon Sep 17 00:00:00 2001 From: Daouda Lo Date: Mon, 28 Apr 2003 12:49:20 +0000 Subject: - sanity check --- USER/USER.xs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'USER') 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 -- cgit v1.2.1