Return instead of cleanup jump in tpm begin

This commit is contained in:
emanuel 2022-07-07 23:10:08 +01:00
parent 6ac3ff9b30
commit 8ae273cafe
1 changed files with 1 additions and 1 deletions

View File

@ -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);