From fa5d728e35926081b660b6ba69e5f1bb05201caf Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Sun, 9 Mar 2008 22:17:13 +0530 Subject: [PATCH] pk-import-desktop: fix segmentation fault (bug #14920) --- client/pk-import-common.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/client/pk-import-common.c b/client/pk-import-common.c index d5c22e2..381a0bc 100644 --- a/client/pk-import-common.c +++ b/client/pk-import-common.c @@ -43,8 +43,8 @@ pk_import_get_locale_list (void) name = g_dir_read_name (dir); while (name != NULL) { pk_debug ("locale=%s", name); - name = g_dir_read_name (dir); g_ptr_array_add (locale_array, g_strdup (name)); + name = g_dir_read_name (dir); } g_dir_close (dir); return locale_array; -- 1.5.3.8