aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2005-08-22 02:38:20 +0000
committerChristian Grothoff <christian@grothoff.org>2005-08-22 02:38:20 +0000
commit2d273a28599b184e9c26b154c21614934be4d537 (patch)
tree5b5f1304467c393059a590b4f2e687cb574bd1d0
parent605f0be4d4dacaaad76f457c27c7c465d8f28d7c (diff)
downloadgnunet-gtk-2d273a28599b184e9c26b154c21614934be4d537.tar.gz
gnunet-gtk-2d273a28599b184e9c26b154c21614934be4d537.zip
cleanup, leak
-rw-r--r--gnunet-gtk.glade6
-rw-r--r--src/plugins/fs/namespace.c2
-rw-r--r--src/plugins/stats/functions.c3
3 files changed, 6 insertions, 5 deletions
diff --git a/gnunet-gtk.glade b/gnunet-gtk.glade
index 5309e072..af82f467 100644
--- a/gnunet-gtk.glade
+++ b/gnunet-gtk.glade
@@ -3662,7 +3662,7 @@ Press ENTER to add the data.</atkproperty>
3662 <child> 3662 <child>
3663 <widget class="GtkHBox" id="hbox14"> 3663 <widget class="GtkHBox" id="hbox14">
3664 <property name="visible">True</property> 3664 <property name="visible">True</property>
3665 <property name="homogeneous">False</property> 3665 <property name="homogeneous">True</property>
3666 <property name="spacing">0</property> 3666 <property name="spacing">0</property>
3667 3667
3668 <child> 3668 <child>
@@ -3689,13 +3689,12 @@ Press ENTER to add the data.</atkproperty>
3689 <property name="tooltip" translatable="yes">Publish an update to the selected updatable content.</property> 3689 <property name="tooltip" translatable="yes">Publish an update to the selected updatable content.</property>
3690 <property name="can_focus">True</property> 3690 <property name="can_focus">True</property>
3691 <property name="relief">GTK_RELIEF_NORMAL</property> 3691 <property name="relief">GTK_RELIEF_NORMAL</property>
3692 <property name="focus_on_click">False</property> 3692 <property name="focus_on_click">True</property>
3693 <signal name="clicked" handler="on_namespaceUpdateButton_clicked" object="namespaceContentFrame" last_modification_time="Mon, 23 May 2005 19:01:59 GMT"/> 3693 <signal name="clicked" handler="on_namespaceUpdateButton_clicked" object="namespaceContentFrame" last_modification_time="Mon, 23 May 2005 19:01:59 GMT"/>
3694 3694
3695 <child> 3695 <child>
3696 <widget class="GtkAlignment" id="alignment5"> 3696 <widget class="GtkAlignment" id="alignment5">
3697 <property name="visible">True</property> 3697 <property name="visible">True</property>
3698 <property name="sensitive">False</property>
3699 <property name="xalign">0.5</property> 3698 <property name="xalign">0.5</property>
3700 <property name="yalign">0.5</property> 3699 <property name="yalign">0.5</property>
3701 <property name="xscale">0</property> 3700 <property name="xscale">0</property>
@@ -5030,6 +5029,7 @@ Phan Vinh Thinh &lt;teppi82@gmail.com&gt;
5030</widget> 5029</widget>
5031 5030
5032<widget class="GtkWindow" id="statusWindow"> 5031<widget class="GtkWindow" id="statusWindow">
5032 <property name="border_width">5</property>
5033 <property name="width_request">780</property> 5033 <property name="width_request">780</property>
5034 <property name="height_request">300</property> 5034 <property name="height_request">300</property>
5035 <property agent="glademm" name="cxx_visibility">public</property> 5035 <property agent="glademm" name="cxx_visibility">public</property>
diff --git a/src/plugins/fs/namespace.c b/src/plugins/fs/namespace.c
index bdd67684..8c8ece20 100644
--- a/src/plugins/fs/namespace.c
+++ b/src/plugins/fs/namespace.c
@@ -360,7 +360,6 @@ static int addTabForNamespace(void * unused,
360 const HashCode512 * namespaceId, 360 const HashCode512 * namespaceId,
361 const struct ECRS_MetaData * md, 361 const struct ECRS_MetaData * md,
362 int rating) { 362 int rating) {
363
364 NamespaceList * list; 363 NamespaceList * list;
365 GtkWidget * label; 364 GtkWidget * label;
366 GtkWidget * spin; 365 GtkWidget * spin;
@@ -392,7 +391,6 @@ static int addTabForNamespace(void * unused,
392 list->namespacepage, 391 list->namespacepage,
393 label); 392 label);
394 gtk_widget_show(notebook); 393 gtk_widget_show(notebook);
395
396 FSUI_listNamespaceContent 394 FSUI_listNamespaceContent
397 (ctx, 395 (ctx,
398 namespaceName, 396 namespaceName,
diff --git a/src/plugins/stats/functions.c b/src/plugins/stats/functions.c
index 7712b982..8b20557c 100644
--- a/src/plugins/stats/functions.c
+++ b/src/plugins/stats/functions.c
@@ -397,6 +397,7 @@ void init_functions() {
397} 397}
398 398
399void done_functions() { 399void done_functions() {
400 int i;
400 delCronJob(&updateConnectionGoal, 401 delCronJob(&updateConnectionGoal,
401 5 * cronMINUTES, 402 5 * cronMINUTES,
402 NULL); 403 NULL);
@@ -405,6 +406,8 @@ void done_functions() {
405 NULL); 406 NULL);
406 MUTEX_DESTROY(&lock); 407 MUTEX_DESTROY(&lock);
407 releaseClientSocket(sock); 408 releaseClientSocket(sock);
409 for (i=0;i<lsv_size;i++)
410 FREE(lastStatValues[i].statName);
408 GROW(lastStatValues, 411 GROW(lastStatValues,
409 lsv_size, 412 lsv_size,
410 0); 413 0);