xaizek / vifm (License: GPLv2+) (since 2018-12-07)
Vifm is a file manager with curses interface, which provides Vi[m]-like environment for managing objects within file systems, extended with some useful ideas from mutt.
Commit 3f1c05f9f10e4c488ff4d948e341b3ded7603f24

Fix possible memory leak
Possible only if fork() system call fails.

Found by clang-checker.
Author: xaizek
Author date (UTC): 2012-10-18 15:16
Committer name: xaizek
Committer date (UTC): 2012-10-18 15:16
Parent(s): 8aeeeb8ccd0b8504ea7b06a5a72f5f0a5104ae2f
Signing key:
Tree: 3df4cadaac369e0862f9259573582d95c5625daf
File Lines added Lines deleted
src/filelist.c 4 0
File src/filelist.c changed (mode: 100644) (index 3bfc81c33..2dc23b431)
... ... use_info_prog(const char *viewer)
501 501 } }
502 502
503 503 if((pid = fork()) == -1) if((pid = fork()) == -1)
504 {
505 show_error_msg("Fork error", "Error forking process");
506 free(cmd);
504 507 return NULL; return NULL;
508 }
505 509
506 510 if(pid == 0) if(pid == 0)
507 511 { {
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/vifm

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/vifm

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master