diff options
author | Daniel Veillard <veillard@redhat.com> | 2010-11-18 11:07:24 +0100 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2010-11-18 11:07:24 +0100 |
commit | fec31bcd452e77c10579467ca87a785b41115de6 (patch) | |
tree | df105fb04dd11af6190d146459941e2c375de7e5 /xpath.c | |
parent | df83c17e5a2646bd923f75e5e507bc80d73c9722 (diff) | |
download | libxml2-fec31bcd452e77c10579467ca87a785b41115de6.tar.gz |
Small fix for previous commit
Diffstat (limited to 'xpath.c')
-rw-r--r-- | xpath.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -11765,13 +11765,14 @@ xmlXPathCompOpEvalPositionalPredicate(xmlXPathParserContextPtr ctxt, xmlXPathObjectPtr tmp; /* pop the result if any */ tmp = valuePop(ctxt); - if (tmp != contextObj) + if (tmp != contextObj) { /* * Free up the result * then pop off contextObj, which will be freed later */ xmlXPathReleaseObject(xpctxt, tmp); valuePop(ctxt); + } goto evaluation_error; } |