chiark / gitweb /
Remove erroneous attribute((malloc)) annotations
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 25 Apr 2013 23:47:43 +0000 (19:47 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 26 Apr 2013 01:28:05 +0000 (21:28 -0400)
commitb231b54780dfa687fc116ed436790c87d5557188
treeb5c8971d6a64f260519db72779e285452d45c5f0
parentb5edbff0356c0b161c46992d9e298866e54c448c
Remove erroneous attribute((malloc)) annotations

According to gcc documentation, returned pointer "cannot alias any
other pointer valid when the function returns" and "the memory has
undefined content". This second part is (hopefully) untrue for all
those functions.
src/shared/strv.h
src/shared/util.h