2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

supress cppcheck memory leak false positive

This commit is contained in:
Todd C. Miller
2017-02-14 14:38:31 -07:00
parent 47b82acd78
commit fb419ba066

View File

@@ -66,6 +66,7 @@ rcstr_alloc(size_t len)
rcs->refcnt = 1;
rcs->str[0] = '\0';
/* cppcheck-suppress memleak */
debug_return_ptr(rcs->str);
}