mirror of
https://github.com/Netflix/dial-reference.git
synced 2026-06-08 02:49:58 +00:00
Fix double ds_unlock call per reported issue.
Got rid of double ds_unlock call.
This commit is contained in:
@@ -638,7 +638,6 @@ int DIAL_register_app(DIALServer *ds, const char *app_name,
|
||||
ds_lock(ds);
|
||||
ptr = find_app(ds, app_name);
|
||||
if (*ptr != NULL) { // app already registered
|
||||
ds_unlock(ds);
|
||||
ret = 0;
|
||||
} else {
|
||||
app = malloc(sizeof(DIALApp));
|
||||
|
||||
Reference in New Issue
Block a user