[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: [redhat-lspp] Re: [RFC 2/7] NetLabel: core network changes



> -----Original Message-----
> From: Steve Grubb [mailto:sgrubb redhat com]
> Sent: Monday, July 10, 2006 10:03 AM
> To: Paul Moore
> Cc: redhat-lspp redhat com
> Subject: [redhat-lspp] Re: [RFC 2/7] NetLabel: core network changes
> 
> 
> On Monday 10 July 2006 10:56, Paul Moore wrote:
> > Quick question - can you safely call kfree() on a NULL or 
> uninitialized
> > pointer?
> 
> A NULL pointer yes. Uninitialized pointer is one that points 
> to random 
> memory...they should all be init'ed with NULL.
Or from an optimization point of view, set to the "right" pointers I guess
:)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]