eo: fix memory leak on _eo_class_mro_add
authorLeandro Dorileo <dorileo@profusion.mobi>
Fri, 14 Dec 2012 20:03:25 +0000 (20:03 +0000)
committerLeandro Dorileo <dorileo@profusion.mobi>
Fri, 14 Dec 2012 20:03:25 +0000 (20:03 +0000)
SVN revision: 80983

src/lib/eo/eo.c

index 4b14852..890a9c1 100644 (file)
@@ -658,6 +658,7 @@ _eo_class_mro_add(Eina_List *mro, const Eo_Class *klass)
           }
      }
 
+   eina_list_free(extn_pos);
 
    mro = _eo_class_mro_add(mro, klass->parent);