On Jul 23, 12:15pm, charles.cui1...@gmail.com (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