summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/XRecord.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/XRecord.c b/src/XRecord.c
index 9c6fe87..2d76f5c 100644
--- a/src/XRecord.c
+++ b/src/XRecord.c
@@ -411,9 +411,9 @@ XRecordGetContext(Display *dpy, XRecordContext context,
xRecordGetContextReply rep;
int count, i, rn;
xRecordRange xrange;
- XRecordRange *ranges;
+ XRecordRange *ranges = NULL;
xRecordClientInfo xclient_inf;
- XRecordClientInfo **client_inf, *client_inf_str;
+ XRecordClientInfo **client_inf, *client_inf_str = NULL;
XRecordState *ret;
XRecordCheckExtension (dpy, info, 0);