This website works better with JavaScript.
Home
Explore
Help
Sign In
Immanuel
/
nnn
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
no need to check for NULL before free
master
Hiltjo Posthuma
lostd
10 years ago
parent
d444bf1cb6
commit
81a0c57783
1 changed files
with
2 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-4
noice.c
+ 2
- 4
noice.c
View File
@@ -545,10 +545,8 @@ begin:
/* Find cur from history */
cur = dentfind(dents, n, path, oldpath);
if (oldpath != NULL) {
free(oldpath);
oldpath = NULL;
}
free(oldpath);
oldpath = NULL;
for (;;) {
redraw:
Write
Preview
Loading…
Cancel
Save