array memory-managed?

"Gordon L. Kindlmann" <[email protected]> Sun, 24 Jul 2011 00:48:36 -0500
Newsgroups gmane.comp.python.ctypes
Message-ID <[email protected]>
Hello,

I have a simple little question.  Does this sequence

In [1]: import ctypes
In [2]: b = (ctypes.c_int * 100)()
In [3]: b = 42

represent a memory leak?  If so, what is the right way to free the  
array of 100 ints?

Thanks,
Gordon



------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/