Message ID | 20220531074117.610321-14-gopalkrishna.tiwari@gmail.com |
---|---|
State | New |
Headers | show |
Series | Fixing memory leak, leaked_handle and use_after | expand |
diff --git a/tools/mesh-gatt/prov-db.c b/tools/mesh-gatt/prov-db.c index 2fb08f799..a5b6997e0 100644 --- a/tools/mesh-gatt/prov-db.c +++ b/tools/mesh-gatt/prov-db.c @@ -859,7 +859,8 @@ bool prov_db_local_set_iv_index(uint32_t iv_index, bool update, bool prov) set_local_iv_index(jmain, iv_index, update); prov_file_write(jmain, false); - } + } else + return true; res = true; done: