Author: infinoid
Date: Fri Mar 21 09:39:23 2008
New Revision: 26510
Modified:
trunk/src/dynext.c
Log:
Patch in RT #51976 seems very reasonable, and passes tests. Apply it.
Thanks to Andrew Whitworth. wknight8111++
Modified: trunk/src/dynext.c
==============================================================================
--- trunk/src/dynext.c (original)
+++ trunk/src/dynext.c Fri Mar 21 09:39:23 2008
@@ -308,7 +308,7 @@
ARGIN_NULLOK(PMC *(*load_func)(PARROT_INTERP)),
ARGIN_NULLOK(void (*init_func)(PARROT_INTERP, ARGIN_NULLOK(PMC
*))))
{
- PMC *lib_pmc;
+ PMC *lib_pmc = NULL;
if (load_func)
lib_pmc = (*load_func)(interp);