diff options
author | Florian Dold <florian.dold@gmail.com> | 2018-09-26 16:41:01 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2018-09-26 16:41:01 +0200 |
commit | eada4b9ecdd5aced1ce408b716899fc95db416d7 (patch) | |
tree | 1123db010b80cf249181adb5923051878a4f7d1d | |
parent | a5dde6ea469c81cd92efda20a1fce9ccfa4a339b (diff) |
Revert "Fix cherry-pick test case."
This reverts commit a5dde6ea469c81cd92efda20a1fce9ccfa4a339b.
-rw-r--r-- | src/exchange/taler-exchange-httpd_keystate.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/exchange/taler-exchange-httpd_keystate.c b/src/exchange/taler-exchange-httpd_keystate.c index 5af391aca..ce2eafa71 100644 --- a/src/exchange/taler-exchange-httpd_keystate.c +++ b/src/exchange/taler-exchange-httpd_keystate.c @@ -2091,20 +2091,6 @@ TEH_KS_handler_keys (struct TEH_RequestHandler *rh, ? krd->response_compressed : krd->response_uncompressed); TEH_KS_release (key_state); - - /** - * Not the best style, but needed since the logic has this - * dual behaviour: some functions touch directly the global - * variable, some others want the key state passed in the - * arguments. - * - * NOTE, this NULL-ification is needed because otherwise - * the internal key state object gets left with refcnt == 0 - * and a non-NULL global pointer to it. - */ - if (internal_key_state == key_state) - internal_key_state = NULL; - return ret; } |