]>
Commit | Line | Data |
---|---|---|
3bf09854 | 1 | --- WSoundPrefs-1.1.1/src/SoundEvents.c.old Mon Feb 25 17:12:50 2002 |
2 | +++ WSoundPrefs-1.1.1/src/SoundEvents.c Mon Feb 25 17:12:53 2002 | |
3 | @@ -373,13 +373,9 @@ | |
4 | ||
5 | if ((path+strlen(path)-1) != "/") { | |
6 | tmp = wstrappend(path, "/"); | |
7 | - if (path) | |
8 | - free(path); | |
9 | path = tmp; | |
10 | } | |
11 | tmp = wstrappend(path, file); | |
12 | - if (path) | |
13 | - free(path); | |
14 | path = tmp; | |
15 | ||
16 | if (access(path, F_OK) == 0) { | |
17 | @@ -439,8 +435,6 @@ | |
18 | ||
19 | if ((path+strlen(path)-1) != "/") { | |
20 | tmp = wstrappend(path, "/"); | |
21 | - if (path) | |
22 | - free(path); | |
23 | path = tmp; | |
24 | } | |
25 |