diff options
Diffstat (limited to 'USER')
-rw-r--r-- | USER/USER.xs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/USER/USER.xs b/USER/USER.xs index 6f45ecc..c294d06 100644 --- a/USER/USER.xs +++ b/USER/USER.xs @@ -71,7 +71,7 @@ USER::ADMIN * Admin_new(CLASS) char *CLASS CODE: - USER_ERR *error = NULL; + USER__ERR *error = NULL; RETVAL = (USER__ADMIN *)lu_start(NULL, 0, NULL, NULL, lu_prompt_console_quiet, NULL, &error); if( RETVAL == NULL ){ warn("unable to malloc USER__ADMIN"); @@ -87,9 +87,7 @@ Admin_DESTROY(self) printf("freeing ADMIN"); if (self) { lu_end(self); - self = NULL; }; - lu_ctx_free(self); void Admin_lookup_user_name(self, name) |