tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: updates?
On Jul 23, 12:15pm, charles.cui1984%gmail.com@localhost (Charles Cui) wrote:
-- Subject: Re: updates?
| I considered about this, it seems that if the variable kp is successfully
| allocated,
| we need to goto out to free kp first (which prevents memory leak).
| But if we never allocate the variable kp, and encountered an error,
| we need to goto discard, which does not free kp.
| Make sense?
Yes, it does. How is the test program coming along?
Thanks,
christos
Home |
Main Index |
Thread Index |
Old Index