mirror of
https://github.com/mer-hybris/libgbinder
synced 2025-11-03 22:26:20 +08:00
[gbinder] Add model file for Coverity. JB#61912
Eliminate false positive. Help Coverity see there is no resource leak (CID 444479).
This commit is contained in:
8
misc/coverity_model.c
Normal file
8
misc/coverity_model.c
Normal file
@@ -0,0 +1,8 @@
|
||||
typedef struct gbinder_remote_request GBinderRemoteRequest;
|
||||
|
||||
void
|
||||
gbinder_remote_request_unref(
|
||||
GBinderRemoteRequest* req)
|
||||
{
|
||||
__coverity_free__(req);
|
||||
}
|
||||
Reference in New Issue
Block a user