[perl-Glib] Glib::KeyFile: avoid using uninitialized memory
- From: Torsten SchÃnfeld <tsch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [perl-Glib] Glib::KeyFile: avoid using uninitialized memory
- Date: Fri, 18 Jan 2013 23:30:40 +0000 (UTC)
commit 07a0a01b7378b11bc9ddfb5dcc0e6cb1e92f7a09
Author: Torsten SchÃnfeld <kaffeetisch gmx de>
Date: Fri Jan 18 22:15:45 2013 +0100
Glib::KeyFile: avoid using uninitialized memory
GKeyFile.xs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/GKeyFile.xs b/GKeyFile.xs
index a881b0a..c031e61 100644
--- a/GKeyFile.xs
+++ b/GKeyFile.xs
@@ -262,7 +262,7 @@ g_key_file_load_from_data_dirs (key_file, file, flags)
GKeyFileFlags flags
PREINIT:
GError *err = NULL;
- gchar *full_path;
+ gchar *full_path = NULL;
gboolean retval;
PPCODE:
retval = g_key_file_load_from_data_dirs (key_file,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]