1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/arabic/katoob/files/patch-src-search.c
Pav Lucistnik 7a8709c112 - Fix crash in search and replace
- Fix crash on exit when permissions on configuration file were changed

PR:		ports/67126
Submitted by:	Samy Al Bahra <samy@kerneled.org> (maintainer)
2004-05-24 23:33:38 +00:00

15 lines
372 B
C

--- src/search.c Tue Aug 26 07:54:37 2003
+++ src/search.c.patch Mon May 24 17:07:16 2004
@@ -266,9 +266,8 @@
tmp = katoob_document_get_last_replaced (doc);
if ((tmp) && (replace))
{
- gtk_entry_set_text (GTK_ENTRY (entry2), g_strdup (tmp));
- g_free (tmp);
- tmp = NULL;
+ gtk_entry_set_text (GTK_ENTRY (entry2), tmp);
+ tmp = NULL;
}
}