[wmii] in cmd/wmii/column.c

From: Andrey Teleshov <at-post_AT_yandex.ru>
Date: Tue, 24 Feb 2009 12:05:59 +0500

Hi!

I seen (accidentally) in cmd/wmii/column.c

=====8<=====8<=====8<=====8<=====8<=====8<=====
bool
column_setmode(Area *a, const char *mode) {
        char *s, *t, *orig;
        .....
        orig = strdup(mode);
        .....
                }else
                        return false;
        .....
        free(orig);
        return true;
}
=====8<=====8<=====8<=====8<=====8<=====8<=====

What is it? Potential memory leak?

-- 
Andrey Teleshov
Received on Tue Feb 24 2009 - 07:05:59 UTC

This archive was generated by hypermail 2.2.0 : Tue Feb 24 2009 - 07:24:06 UTC