diff options
author | Bert Münnich <be.muennich@googlemail.com> | 2012-05-13 22:01:09 +0200 |
---|---|---|
committer | Bert Münnich <be.muennich@googlemail.com> | 2012-05-13 22:01:09 +0200 |
commit | 72071d5e9d40c4c14767f701d92b020571f98bdd (patch) | |
tree | 0f6fe098bce380f9186f2e146fc3ac614f15c899 | |
parent | d1a1e0142b453a7083463eaf02402b4d3b31ff65 (diff) |
Fixed mem-leak in tns_init/tns_free
-rw-r--r-- | thumbs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -186,7 +186,7 @@ void tns_init(tns_t *tns, int cnt, win_t *win) { void tns_free(tns_t *tns) { int i; - if (tns != NULL) + if (tns == NULL) return; if (tns->thumbs != NULL) { |