Skip to content

Commit

Permalink
Fix cv::fastFree
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github committed Mar 21, 2024
1 parent e992956 commit 601e62d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion cfg/opencv2.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1">
<not-uninit indirect="1"/>
<not-uninit/>
</arg>
</function>
<!-- void * cv::fastMalloc (size_t bufSize) -->
Expand Down
1 change: 0 additions & 1 deletion test/cfg/opencv2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ void validCode(const char* argStr)

// cppcheck-suppress [cstyleCast, unusedAllocatedMemory]
char * pBuf = (char *)cv::fastMalloc(20);
// cppcheck-suppress uninitdata
cv::fastFree(pBuf);
}

Expand Down

0 comments on commit 601e62d

Please sign in to comment.