Browse Source

Fixed mem-leak in tns_init/tns_free

master
Bert Münnich 12 years ago
parent
commit
72071d5e9d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      thumbs.c

+ 1
- 1
thumbs.c View File

@@ -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) {


Loading…
Cancel
Save