don't segfault on a simple query
commitf22452b530a85b36a50cc8f7dc9fb9ea8387389b
authorJeff Darcy <jdarcy@redhat.com>
Fri, 4 Feb 2011 16:33:30 +0000 (4 17:33 +0100)
committerJim Meyering <meyering@redhat.com>
Fri, 4 Feb 2011 16:51:29 +0000 (4 17:51 +0100)
tree272bea8a340ef2627a767026a97c12aa21f59b57
parent6d0ab2da3a3fb3c92dde97a4072a317a8a63bba3
don't segfault on a simple query

* qparser.y (free_value): Don't free v->resolved.
(string_value): Disable caching of v->resolved.
* rest.c (proxy_query): Don't free ms here.  It's still in use.
* t/basic: Add test case to trigger crash reported by Steve Loranz.
qparser.y
rest.c
t/basic