projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acf2820
)
Free memory of pid string.
author
Daniel Carl
<danielcarl@gmx.de>
Tue, 30 May 2017 21:14:45 +0000
(23:14 +0200)
committer
Daniel Carl
<danielcarl@gmx.de>
Tue, 30 May 2017 21:14:45 +0000
(23:14 +0200)
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
5fc4e20
..
ce6ac02
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-1785,6
+1785,7
@@
int main(int argc, char* argv[])
/* set the current pid in env */
pidstr = g_strdup_printf("%d", (int)getpid());
g_setenv("VIMB_PID", pidstr, TRUE);
+ g_free(pidstr);
vimb_setup();