瀏覽代碼

misc: fix some coding errors found by Coverity.

master
Sam Hocevar 11 年之前
父節點
當前提交
52e8d052d1
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      neercs/old/screen_list.c

+ 1
- 1
neercs/old/screen_list.c 查看文件

@@ -135,8 +135,8 @@ struct screen_list *create_screen_list(void)
{
fprintf(stderr, "Can't allocate memory at %s:%d\n", __FUNCTION__,
__LINE__);
free(screen_list);
free(screen_list->screen);
free(screen_list);
return NULL;
}
screen_list->recurrent_list->count = 0;


Loading…
取消
儲存