浏览代码

Fixed mem-leak in tns_init/tns_free

master
Bert Münnich 13 年前
父节点
当前提交
72071d5e9d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      thumbs.c

+ 1
- 1
thumbs.c 查看文件

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


正在加载...
取消
保存