summaryrefslogtreecommitdiff
path: root/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/parser.c b/parser.c
index f081842..f20867e 100644
--- a/parser.c
+++ b/parser.c
@@ -744,6 +744,7 @@ void Parser_main (char *in, gchar** response, int allow_unrequested_responses)
// FIXME
if (error_num) {
g_free (*response);
+ *response = NULL;
queue_error_from_parser(response, error_num);
if (allow_unrequested_responses) {
; // SEND ERROR RESPONSE TO CLIENT NOW!