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 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?



Home | Main Index | Thread Index | Old Index