summaryrefslogtreecommitdiffstats
path: root/screen-write.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-07-30 20:41:48 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-07-30 20:41:48 +0000
commit97f105cde22c50ecf3cc1edd68df2664f3645bcc (patch)
tree4897ca1fb5e0a2ad05e037084e8ea04491eb5daf /screen-write.c
parent61f3fc7e4dc5bdf543940f8cc7334f5f64d4b9fb (diff)
Plug some memory leaks.
Diffstat (limited to 'screen-write.c')
-rw-r--r--screen-write.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/screen-write.c b/screen-write.c
index 449c3a35..d9b523c4 100644
--- a/screen-write.c
+++ b/screen-write.c
@@ -91,6 +91,7 @@ screen_write_strlen(int utf8flag, const char *fmt, ...)
}
}
+ xfree(msg);
return (size);
}