diff options
author | okan | 2011-10-12 15:43:50 +0000 |
---|---|---|
committer | okan | 2011-10-12 15:43:50 +0000 |
commit | 1e06bc04e3baf069dffbfc51a74eaf46e4f8a021 (patch) | |
tree | 060bb0d751868bba22c51f519cfffa5ff8cb2931 | |
parent | 142e82d1820534d8206e40d214b13116da3d4673 (diff) | |
download | cwm-1e06bc04e3baf069dffbfc51a74eaf46e4f8a021.tar.gz |
use xfree instead of free since strings is allocated with xmalloc; from
dhill
ok oga@
Diffstat (limited to '')
-rw-r--r-- | group.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -16,7 +16,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: group.c,v 1.53 2011/09/19 07:23:03 okan Exp $ + * $OpenBSD: group.c,v 1.54 2011/10/12 15:43:50 okan Exp $ */ #include <sys/param.h> @@ -515,7 +515,7 @@ group_update_names(struct screen_ctx *sc) if (prop_ret != NULL) XFree(prop_ret); if (sc->group_nonames != 0) - free(sc->group_names); + xfree(sc->group_names); sc->group_names = strings; sc->group_nonames = n; |