[gtranslator/gtk4: 22/52] Removed g_autofree (cause of segfault)
- From: Daniel Garcia Moreno <danigm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtranslator/gtk4: 22/52] Removed g_autofree (cause of segfault)
- Date: Mon, 5 Sep 2022 15:17:50 +0000 (UTC)
commit eb37d68ce2333c3679c955b69bd180f1993bb1f7
Author: afshan ahmed khan <afshanahmeda2k gmail com>
Date: Mon Jun 13 12:34:17 2022 +0530
Removed g_autofree (cause of segfault)
src/gtr-actions-file.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gtr-actions-file.c b/src/gtr-actions-file.c
index a7e3c343..b8bfcf20 100644
--- a/src/gtr-actions-file.c
+++ b/src/gtr-actions-file.c
@@ -155,7 +155,7 @@ gtr_po_parse_files_from_dialog (GtkNativeDialog * dialog, GtrWindow * window)
}*/
po_files_model = gtk_file_chooser_get_files (GTK_FILE_CHOOSER (dialog));
- g_autofree guint i = 0;
+ guint i = 0;
while (i < g_list_model_get_n_items(po_files_model)) {
file = g_list_model_get_item(po_files_model, i);
locations = g_slist_prepend (locations, file);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]