[yelp] yelp-application: Fix invalid free, bug #647761
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp] yelp-application: Fix invalid free, bug #647761
- Date: Thu, 14 Apr 2011 16:42:00 +0000 (UTC)
commit 715962fd215087f382a4903278a783d81330f6b7
Author: Shaun McCance <shaunm gnome org>
Date: Thu Apr 14 12:39:13 2011 -0400
yelp-application: Fix invalid free, bug #647761
src/yelp-application.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/yelp-application.c b/src/yelp-application.c
index 15b5735..ddf5a19 100644
--- a/src/yelp-application.c
+++ b/src/yelp-application.c
@@ -226,7 +226,7 @@ yelp_application_cmdline (GApplication *app,
base = g_file_new_for_path (cur);
new = g_file_resolve_relative_path (base, (*arguments)[i]);
newuri = g_file_get_uri (new);
- g_free (arguments[i]);
+ g_free ((*arguments)[i]);
(*arguments)[i] = newuri;
g_free (cur);
g_object_unref (new);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]