diff --git a/libexec/ld.elf_so/map_object.c b/libexec/ld.elf_so/map_object.c index 425b972982bf..7e17b59ea641 100644 --- a/libexec/ld.elf_so/map_object.c +++ b/libexec/ld.elf_so/map_object.c @@ -1,4 +1,4 @@ -/* $NetBSD: map_object.c,v 1.52 2013/08/03 13:17:05 skrll Exp $ */ +/* $NetBSD: map_object.c,v 1.53 2014/10/30 07:53:41 martin Exp $ */ /* * Copyright 1996 John D. Polstra. @@ -34,7 +34,7 @@ #include #ifndef lint -__RCSID("$NetBSD: map_object.c,v 1.52 2013/08/03 13:17:05 skrll Exp $"); +__RCSID("$NetBSD: map_object.c,v 1.53 2014/10/30 07:53:41 martin Exp $"); #endif /* not lint */ #include @@ -442,10 +442,10 @@ _rtld_obj_free(Obj_Entry *obj) } if (!obj->phdr_loaded) xfree((void *)(uintptr_t)obj->phdr); - xfree(obj); #ifdef COMBRELOC _rtld_combreloc_reset(obj); #endif + xfree(obj); } Obj_Entry *