Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(230)

Side by Side Diff: dev-libs/libxml2/files/libxml2-2.7.8-xpath-freeing2.patch

Issue 6776028: Upgrade libxml2 and its portage dependencies (Closed) Base URL: ssh://gitrw.chromium.org:9222/portage-stable.git@master
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 From fec31bcd452e77c10579467ca87a785b41115de6 Mon Sep 17 00:00:00 2001
2 From: Daniel Veillard <veillard@redhat.com>
3 Date: Thu, 18 Nov 2010 10:07:24 +0000
4 Subject: Small fix for previous commit
5
6 ---
7 diff --git a/xpath.c b/xpath.c
8 index 1447be5..8b56189 100644
9 --- a/xpath.c
10 +++ b/xpath.c
11 @@ -11765,13 +11765,14 @@ xmlXPathCompOpEvalPositionalPredicate(xmlXPathParserCo ntextPtr ctxt,
12 xmlXPathObjectPtr tmp;
13 /* pop the result if any */
14 tmp = valuePop(ctxt);
15 - if (tmp != contextObj)
16 + if (tmp != contextObj) {
17 /*
18 * Free up the result
19 * then pop off contextObj, which will be freed later
20 */
21 xmlXPathReleaseObject(xpctxt, tmp);
22 valuePop(ctxt);
23 + }
24 goto evaluation_error;
25 }
26
27 --
28 cgit v0.8.3.1
OLDNEW
« no previous file with comments | « dev-libs/libxml2/files/libxml2-2.7.8-xpath-freeing.patch ('k') | dev-libs/libxml2/files/libxml2-2.7.8-xpath-memory.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698