Return instead of cleanup jump in tpm begin
This commit is contained in:
parent
6ac3ff9b30
commit
8ae273cafe
|
|
@ -50,7 +50,7 @@ int tpm_pay(void* fc, tolling_info_t* info, void* security_socket, uint8_t* neig
|
||||||
|
|
||||||
if (!tolling->enabled) {
|
if (!tolling->enabled) {
|
||||||
syslog_debug("[facilities] [tolling] tolling is disabled");
|
syslog_debug("[facilities] [tolling] tolling is disabled");
|
||||||
goto cleanup;
|
return rv;
|
||||||
}
|
}
|
||||||
|
|
||||||
pthread_mutex_lock(&facilities->epv.time.lock);
|
pthread_mutex_lock(&facilities->epv.time.lock);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue