소스 검색

Also release filter memory

master
lostd 10 년 전
부모
커밋
5032930290
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. +2
    -1
      noice.c

+ 2
- 1
noice.c 파일 보기

@@ -342,7 +342,7 @@ browse(const char *ipath, const char *ifilter)
struct stat sb;

begin:
/* Path should be a malloc(3)-ed string at all times */
/* Path and filter should be malloc(3)-ed strings at all times */
n = 0;
cur = 0;
dents = NULL;
@@ -446,6 +446,7 @@ nochange:
switch (ret) {
case SEL_QUIT:
free(path);
free(filter);
return;
case SEL_BACK:
/* Handle root case */


불러오는 중...
취소
저장