summaryrefslogtreecommitdiff
path: root/libvxi11client/perlbits/perlglue.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvxi11client/perlbits/perlglue.c')
-rw-r--r--libvxi11client/perlbits/perlglue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvxi11client/perlbits/perlglue.c b/libvxi11client/perlbits/perlglue.c
index 3225ca0..902f915 100644
--- a/libvxi11client/perlbits/perlglue.c
+++ b/libvxi11client/perlbits/perlglue.c
@@ -19,8 +19,8 @@ static void freeevent(Event* event) {
static void freelast() {
if (lastevent != NULL) {
freeevent(lastevent);
+ lastevent = NULL;
}
- lastevent = NULL;
}
static void interruptcallback(char* handle) {