浏览代码

uac: release lock when listing records via rpc

- patch by Savolainen Dmitri, FS#484
Daniel-Constantin Mierla 11 年之前
父节点
当前提交
f638650411
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      modules/uac/uac_reg.c

+ 1 - 0
modules/uac/uac_reg.c

@@ -1574,6 +1574,7 @@ static void rpc_uac_reg_info(rpc_t* rpc, void* ctx)
 					rpc->fault(ctx, 500, "Internal error adding item");
 					return;
 				}
+				lock_release(&_reg_htable->entries[i].lock);
 				return;
 			}
 			reg = reg->next;