[Mesa-dev] [Bug 41677] Potential deallocation at null pointer while getting of extra extensions info

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Oct 11 09:32:53 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=41677

Vinson Lee <vlee at vmware.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |NOTABUG

--- Comment #2 from Vinson Lee <vlee at vmware.com> 2011-10-11 09:32:53 PDT ---
free(NULL) is allowed by the C standard.


See ISO-IEC 9899:1999 from http://open-std.org/JTC1/SC22/WG14/www/standards.

7.20.3.2
The free function causes the space pointed to by ptr to be deallocated, that
is, made available for further allocation. If ptr is a null pointer, no action
occurs.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list