← Commit list

4ba6c5d3b

Jon Tollefson
Jon Tollefson
2012-11-13
SUCCESS Duration: 184s

Subject

ash: fix a memory leak

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

shell/ash.c+2 -0
@@ -8676,6 +8676,8 @@ expredir(union node *n)
#if ENABLE_ASH_BASH_COMPAT
store_expfname:
#endif
+ if (redir->nfile.expfname)
+ stunalloc(redir->nfile.expfname);
redir->nfile.expfname = fn.list->text;
break;
case NFROMFD: