[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r1730 - GNUnet/src/applications/fs/fsui doodle/po gnunet-gt
From: |
grothoff |
Subject: |
[GNUnet-SVN] r1730 - GNUnet/src/applications/fs/fsui doodle/po gnunet-gtk/src/plugins/fs |
Date: |
Wed, 17 Aug 2005 21:13:05 -0700 (PDT) |
Author: grothoff
Date: 2005-08-17 21:12:56 -0700 (Wed, 17 Aug 2005)
New Revision: 1730
Modified:
GNUnet/src/applications/fs/fsui/namespace_info.c
doodle/po/it.po
gnunet-gtk/src/plugins/fs/search.c
gnunet-gtk/src/plugins/fs/upload.c
Log:
fixing memory leaks from Mantis 868
Modified: GNUnet/src/applications/fs/fsui/namespace_info.c
===================================================================
--- GNUnet/src/applications/fs/fsui/namespace_info.c 2005-08-18 03:59:07 UTC
(rev 1729)
+++ GNUnet/src/applications/fs/fsui/namespace_info.c 2005-08-18 04:12:56 UTC
(rev 1730)
@@ -297,6 +297,7 @@
strlen(NS_DIR) +
4);
strcpy(fn, fnBase);
+ FREE(fnBase);
strcat(fn, DIR_SEPARATOR_STR);
strcat(fn, NS_DIR);
mkdirp(fn);
Modified: doodle/po/it.po
===================================================================
--- doodle/po/it.po 2005-08-18 03:59:07 UTC (rev 1729)
+++ doodle/po/it.po 2005-08-18 04:12:56 UTC (rev 1730)
@@ -1,14 +1,14 @@
# Italian messages for doodle.
-# Copyright (C) 2005 Free Software Foundation, Inc.
+# Copyright (C) 2005 Christian Grothoff
# This file is distributed under the same license as the doodle package.
# Marco Colombo <address@hidden>, 2005.
#
msgid ""
msgstr ""
-"Project-Id-Version: doodle 0.6.2\n"
+"Project-Id-Version: doodle 0.6.3\n"
"Report-Msgid-Bugs-To: https://gnunet.org/mantis/ or address@hidden"
"POT-Creation-Date: 2005-04-28 23:26-0500\n"
-"PO-Revision-Date: 2005-02-02 11:14+0000\n"
+"PO-Revision-Date: 2005-08-16 12:54+0100\n"
"Last-Translator: Marco Colombo <address@hidden>\n"
"Language-Team: Italian <address@hidden>\n"
"MIME-Version: 1.0\n"
@@ -18,20 +18,15 @@
#: src/doodle/doodle.c:67
msgid "consider strings to match if DISTANCE letters are different"
-msgstr ""
-"considera le stringhe come corrispondenti se DISTANZA lettere sono differenti"
+msgstr "considera le stringhe come corrispondenti se DISTANZA lettere sono
differenti"
#: src/doodle/doodle.c:69
msgid "build database (default is to search)"
msgstr "crea il database (azione predefinita: cerca)"
#: src/doodle/doodle.c:71
-msgid ""
-"use the generic plaintext extractor for the language with the 2-letter "
-"language code LANG (use when building database)"
-msgstr ""
-"usa il generico estrattore di testo semplice per il linguaggio con il codice "
-"LANG a 2 lettere (usato alla creazione del database)"
+msgid "use the generic plaintext extractor for the language with the 2-letter
language code LANG (use when building database)"
+msgstr "usa il generico estrattore di testo semplice per il linguaggio con il
codice LANG a 2 lettere (usato alla creazione del database)"
#: src/doodle/doodle.c:73 src/doodle/doodled.c:63
msgid "use location FILENAME to store doodle database"
@@ -43,9 +38,7 @@
#: src/doodle/doodle.c:77
msgid "add the filename to the list of keywords (use when building database)"
-msgstr ""
-"aggiunge il nome del file alla lista di parole chiavi (usato alla creazione "
-"del database)"
+msgstr "aggiunge il nome del file alla lista di parole chiavi (usato alla
creazione del database)"
#: src/doodle/doodle.c:79 src/doodle/doodled.c:69
msgid "print this help page"
@@ -123,12 +116,8 @@
#: src/doodle/doodle.c:224 src/doodle/doodled.c:606
#, c-format
-msgid ""
-"'%s' is an invalid database filename (has a colon) for building database "
-"(option '%s').\n"
-msgstr ""
-"'%s' non � un nome di database valido (contiene un ':') per la creazione del "
-"database (opzione '%s').\n"
+msgid "'%s' is an invalid database filename (has a colon) for building
database (option '%s').\n"
+msgstr "'%s' non � un nome di database valido (contiene un ':') per la
creazione del database (opzione '%s').\n"
#: src/doodle/doodle.c:250 src/doodle/doodled.c:628
#, c-format
@@ -178,20 +167,13 @@
#: src/doodle/doodle.c:451
#, c-format
-msgid ""
-"Warning: search string is longer than %d characters, search will not work.\n"
-msgstr ""
-"Attenzione: la stringa di ricerca � pi� lunga di %d caratteri, la ricerca "
-"non funzioner�.\n"
+msgid "Warning: search string is longer than %d characters, search will not
work.\n"
+msgstr "Attenzione: la stringa di ricerca � pi� lunga di %d caratteri, la
ricerca non funzioner�.\n"
#: src/doodle/doodle.c:456
#, c-format
-msgid ""
-"Warning: search string is longer than %d characters, search may not work "
-"properly.\n"
-msgstr ""
-"Attenzione: la stringa di ricerca � pi� lunga di %d caratteri, la ricerca "
-"potrebbe non funzionare correttamente.\n"
+msgid "Warning: search string is longer than %d characters, search may not
work properly.\n"
+msgstr "Attenzione: la stringa di ricerca � pi� lunga di %d caratteri, la
ricerca potrebbe non funzionare correttamente.\n"
#: src/doodle/doodle.c:468 src/doodle/doodle.c:478
#, c-format
@@ -236,12 +218,8 @@
msgstr "Indicare i termini da cercare!\n"
#: src/doodle/doodled.c:60
-msgid ""
-"use the generic plaintext extractor for the language with the 2-letter "
-"language code LANG"
-msgstr ""
-"usa il generico estrattore di testo semplice per il linguaggio con il codice "
-"LANG a 2 lettere (usato alla creazione del database)"
+msgid "use the generic plaintext extractor for the language with the 2-letter
language code LANG"
+msgstr "usa il generico estrattore di testo semplice per il linguaggio con il
codice LANG a 2 lettere (usato alla creazione del database)"
#: src/doodle/doodled.c:65
msgid "run in debug mode, do not daemonize"
@@ -321,9 +299,8 @@
msgid "No files exist that doodled would monitor for changes. Exiting.\n"
msgstr "Non esiste nessun file osservabile da doodled. Uscita.\n"
-# FIXME UPSTREAM: cancling -> canceling?
#: src/doodle/doodled.c:708
-#, fuzzy, c-format
+#, c-format
msgid "Cancelling fam monitor '%s'.\n"
msgstr "Cancellazione dell'osservatore di FAM '%s' in corso.\n"
@@ -437,9 +414,7 @@
#: src/doodle/grow.c:100
#, c-format
msgid "FATAL: can not allocate %u * %d elements (number too large) at %s:%d.\n"
-msgstr ""
-"FATALE: impossibile allocare %u * %d elementi (numero troppo grande) a %s:%"
-"d.\n"
+msgstr "FATALE: impossibile allocare %u * %d elementi (numero troppo grande) a
%s:%d.\n"
#: src/doodle/help.c:51
#, c-format
@@ -454,11 +429,8 @@
#: src/doodle/help.c:54
#, c-format
-msgid ""
-"Arguments mandatory for long options are also mandatory for short options.\n"
-msgstr ""
-"Gli argomenti obbligatori per le opzioni lunghe lo sono anche per quelle "
-"corte.\n"
+msgid "Arguments mandatory for long options are also mandatory for short
options.\n"
+msgstr "Gli argomenti obbligatori per le opzioni lunghe lo sono anche per
quelle corte.\n"
#: src/doodle/tree.c:194
#, c-format
@@ -491,9 +463,7 @@
#: src/doodle/tree.c:1024
#, c-format
msgid "Memory limit (%u bytes) hit, serializing some data.\n"
-msgstr ""
-"Raggiunto il limite di memoria (%u byte), alcuni dati verranno "
-"serializzati.\n"
+msgstr "Raggiunto il limite di memoria (%u byte), alcuni dati verranno
serializzati.\n"
#: src/doodle/tree.c:1062
#, c-format
@@ -522,12 +492,8 @@
#: src/doodle/tree.c:1605
#, c-format
-msgid ""
-"Database file '%s' is from incomplete database build. I will remove it and "
-"rebuild the database.\n"
-msgstr ""
-"Il file di database '%s' � un database incompleto. Verr� rimosso e il "
-"database sar� ricostruito.\n"
+msgid "Database file '%s' is from incomplete database build. I will remove it
and rebuild the database.\n"
+msgstr "Il file di database '%s' � un database incompleto. Verr� rimosso e il
database sar� ricostruito.\n"
#: src/doodle/tree.c:1611
#, c-format
@@ -593,12 +559,8 @@
msgstr "Rimosse le parole chiavi per il file '%s'.\n"
#: src/doodle/tree.c:2941 src/doodle/tree.c:3002
-msgid ""
-"Scanning filesystem in order to remove obsolete entries from existing "
-"database.\n"
-msgstr ""
-"Analisi del filesystem per rimuovere elementi obsoleti dal database "
-"esistente.\n"
+msgid "Scanning filesystem in order to remove obsolete entries from existing
database.\n"
+msgstr "Analisi del filesystem per rimuovere elementi obsoleti dal database
esistente.\n"
#: src/doodle/tree.c:2960 src/doodle/tree.c:3021
#, c-format
Modified: gnunet-gtk/src/plugins/fs/search.c
===================================================================
--- gnunet-gtk/src/plugins/fs/search.c 2005-08-18 03:59:07 UTC (rev 1729)
+++ gnunet-gtk/src/plugins/fs/search.c 2005-08-18 04:12:56 UTC (rev 1730)
@@ -111,6 +111,7 @@
pixbuf = gdk_pixbuf_loader_get_pixbuf(loader);
gdk_pixbuf_loader_close(loader,
NULL);
+ UNREF(loader);
} else {
pixbuf = NULL;
}
Modified: gnunet-gtk/src/plugins/fs/upload.c
===================================================================
--- gnunet-gtk/src/plugins/fs/upload.c 2005-08-18 03:59:07 UTC (rev 1729)
+++ gnunet-gtk/src/plugins/fs/upload.c 2005-08-18 04:12:56 UTC (rev 1730)
@@ -320,6 +320,7 @@
ECRS_extractMetaData(meta,
filename,
extractors);
+ EXTRACTOR_removeAll(extractors);
filenamerest = &filename[strlen(filename)-1];
while ( (filenamerest > filename) &&
(filenamerest[-1] != DIR_SEPARATOR) )
@@ -505,7 +506,7 @@
}
void fs_upload_stop() {
- /* FIXME: release memory */
+ /* nothing to be done */
}
/* end of upload.c */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r1730 - GNUnet/src/applications/fs/fsui doodle/po gnunet-gtk/src/plugins/fs,
grothoff <=