[master] 7be39f2 Assert allocation success

Poul-Henning Kamp phk at FreeBSD.org
Fri Nov 29 10:46:09 CET 2013


commit 7be39f2d16cabb96c58610529c6c9e606ae4cb4c
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Fri Nov 29 09:43:35 2013 +0000

    Assert allocation success

diff --git a/lib/libvarnishapi/vsl_query.c b/lib/libvarnishapi/vsl_query.c
index 5cddbde..4beface 100644
--- a/lib/libvarnishapi/vsl_query.c
+++ b/lib/libvarnishapi/vsl_query.c
@@ -312,6 +312,7 @@ vslq_newquery(struct VSL_data *vsl, enum VSL_grouping_e grouping,
 		vsl_diag(vsl, "%s", VSB_data(vsb));
 	else {
 		ALLOC_OBJ(query, VSLQ_QUERY_MAGIC);
+		XXXAN(query);
 		query->vex = vex;
 	}
 	VSB_delete(vsb);




More information about the varnish-commit mailing list