[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r15994 - gnunet/src/testing
From: |
gnunet |
Subject: |
[GNUnet-SVN] r15994 - gnunet/src/testing |
Date: |
Fri, 15 Jul 2011 13:07:47 +0200 |
Author: grothoff
Date: 2011-07-15 13:07:47 +0200 (Fri, 15 Jul 2011)
New Revision: 15994
Modified:
gnunet/src/testing/testing.c
Log:
eliminate leak
Modified: gnunet/src/testing/testing.c
===================================================================
--- gnunet/src/testing/testing.c 2011-07-15 11:06:25 UTC (rev 15993)
+++ gnunet/src/testing/testing.c 2011-07-15 11:07:47 UTC (rev 15994)
@@ -1157,7 +1157,7 @@
GNUNET_asprintf (&arg, "address@hidden:%s", username, hostname,
baseservicehome);
else
GNUNET_asprintf (&arg, "%s:%s", hostname, baseservicehome);
-
+ GNUNET_free(baseservicehome);
if (ret->ssh_port_str == NULL)
{
ret->proc = GNUNET_OS_start_process (NULL, NULL, "scp", "scp",
"-r",
@@ -1166,7 +1166,10 @@
#endif
servicehome, arg, NULL);
#if DEBUG_TESTING
- GNUNET_log(GNUNET_ERROR_TYPE_WARNING, "copying directory with
command scp -r %s %s\n", servicehome, arg);
+ GNUNET_log(GNUNET_ERROR_TYPE_DEBUG,
+ "copying directory with command scp -r %s %s\n",
+ servicehome,
+ arg);
#endif
}
else
@@ -1206,7 +1209,6 @@
= GNUNET_SCHEDULER_add_delayed (GNUNET_CONSTANTS_EXEC_WAIT,
&start_fsm, ret);
GNUNET_free_non_null(hostkeyfile);
- GNUNET_free(baseservicehome);
GNUNET_free(servicehome);
return ret;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r15994 - gnunet/src/testing,
gnunet <=