--- In [email protected], "entropyreduction" <[EMAIL PROTECTED]> wrote:
>
> --- In [email protected], "swzoh" <seanzoh@> wrote:
> 
> > > dll.call("shell32.dll|ShellExecuteEx|t* i",sei)
> > 
> > I just noticed that the handle to the structure sei is not destroyed
> > automatically even if I set sei local, so have to add at the end:
> > 
> > dll.release(sei)
>  
> Yup.  Plugin doesn't attempt to detect whether a variable holding a
> struct is local, cause it has no way of knowing when the calling
> script is gonna terminate.  For all it knows, you intent to use sei in
> six more calls before end of current scope.

I realized that, so I checked. I'd been building a habit not to
explicitly release the pointers but to instead use local variables,
with vec/map plugins.

Sean





Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to