summaryrefslogtreecommitdiff
path: root/libvxi11client/perlbits/perlglue.c
diff options
context:
space:
mode:
authordaniel <danieruru@gmail.com>2013-01-18 02:40:49 +0900
committerdaniel <danieruru@gmail.com>2013-01-18 02:40:49 +0900
commit425b461dfe9f330f7bb35061c6cce4c78fbcc5aa (patch)
tree64194fdb9a610258db222d1f34651317a77db243 /libvxi11client/perlbits/perlglue.c
parent3bcf349f108248fc3ca705ff1fc8b56923e8bfa4 (diff)
add a lazy way to call write
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) {