tst_cleanup.c

来自「Amarok是一款在LINUX或其他类UNIX操作系统中运行的音频播放器软件。 」· C语言 代码 · 共 25 行

C
25
字号
#include "tst.h"#include <stdio.h>#include <stdlib.h>void tst_cleanup(struct tst *tst){   struct node_lines *current_line;   struct node_lines *next_line;   next_line = tst->node_lines;   do   {      current_line = next_line;      next_line = current_line->next;      free(current_line->node_line);      free(current_line);   }   while(next_line != NULL);   free(tst);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?