talloc: Mark ptr of talloc_unlink() not as a tainted scalar
[bbaumbach/samba-autobuild/.git] / lib / talloc / talloc.c
index 518ffbdbfdf54e42372ca8c1109dcc220cce5e52..e476f3e2d052ad4ff8f48d3f59861ed4e2ed85fd 100644 (file)
@@ -1438,6 +1438,8 @@ static inline int talloc_unreference(const void *context, const void *ptr)
   remove a specific parent context from a pointer. This is a more
   controlled variant of talloc_free()
 */
+
+/* coverity[ -tainted_data_sink : arg-1 ] */
 _PUBLIC_ int talloc_unlink(const void *context, void *ptr)
 {
        struct talloc_chunk *tc_p, *new_p, *tc_c;