aboutsummaryrefslogtreecommitdiff
path: root/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-09-20 10:20:46 +0000
committerChristian Grothoff <christian@grothoff.org>2016-09-20 10:20:46 +0000
commit7e835e78aa82869715c9aee96a73ba40aad3f39f (patch)
tree000078e5b3f0b48a8f473df30b187a170b7c29b3 /src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c
parenta9f53345421cddea37be81e59d6fb56a9f095d6c (diff)
downloadgnunet-7e835e78aa82869715c9aee96a73ba40aad3f39f.tar.gz
gnunet-7e835e78aa82869715c9aee96a73ba40aad3f39f.zip
convert non-ecc scalarproducts to new service API
Diffstat (limited to 'src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c')
-rw-r--r--src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c b/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c
index ba8b4b796..0b7f24e7e 100644
--- a/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c
+++ b/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c
@@ -245,8 +245,10 @@ destroy_service_session (struct AliceServiceSession *s)
245 } 245 }
246 if (NULL != s->client) 246 if (NULL != s->client)
247 { 247 {
248 GNUNET_SERVICE_client_drop (s->client); 248 struct GNUNET_SERVICE_Client *c = s->client;
249
249 s->client = NULL; 250 s->client = NULL;
251 GNUNET_SERVICE_client_drop (c);
250 } 252 }
251 if (NULL != s->channel) 253 if (NULL != s->channel)
252 { 254 {