[frogr] Added missing check
- From: Mario Sanchez Prada <msanchez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [frogr] Added missing check
- Date: Mon, 2 May 2011 15:41:18 +0000 (UTC)
commit f1bf1641f279004837196919f89098d4eaa5544b
Author: Mario Sanchez Prada <msanchez igalia com>
Date: Mon May 2 17:40:22 2011 +0200
Added missing check
src/flicksoup/fsp-parser.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/flicksoup/fsp-parser.c b/src/flicksoup/fsp-parser.c
index 2977658..6669e5e 100644
--- a/src/flicksoup/fsp-parser.c
+++ b/src/flicksoup/fsp-parser.c
@@ -203,7 +203,8 @@ _get_error_from_response (xmlDoc *doc,
if (node != NULL)
{
/* Parse the actual error found in the response */
- g_error_free (err);
+ if (err)
+ g_error_free (err);
err = _parse_error_from_node (node, error_method);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]