diff options
author | Aaron Lehmann <aaronl@vitelius.com> | 2002-11-28 11:27:31 +0000 |
---|---|---|
committer | Aaron Lehmann <aaronl@vitelius.com> | 2002-11-28 11:27:31 +0000 |
commit | a170e1c858d35c474ceb9fecb41b37d681424094 (patch) | |
tree | cda2b13f10ca1ab0a3559d4b6ff663ed20d7106c /editors/sed.c | |
parent | 1652855fbc830f41c7ee56ece1a30b328c4fb395 (diff) | |
download | busybox-w32-a170e1c858d35c474ceb9fecb41b37d681424094.tar.gz busybox-w32-a170e1c858d35c474ceb9fecb41b37d681424094.tar.bz2 busybox-w32-a170e1c858d35c474ceb9fecb41b37d681424094.zip |
Change if(x)free(x); to free(x);
Diffstat (limited to 'editors/sed.c')
-rw-r--r-- | editors/sed.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/editors/sed.c b/editors/sed.c index 23e9d545b..df623465f 100644 --- a/editors/sed.c +++ b/editors/sed.c | |||
@@ -130,8 +130,7 @@ static void destroy_cmd_strs(void) | |||
130 | regfree(sed_cmds[ncmds].sub_match); | 130 | regfree(sed_cmds[ncmds].sub_match); |
131 | free(sed_cmds[ncmds].sub_match); | 131 | free(sed_cmds[ncmds].sub_match); |
132 | } | 132 | } |
133 | if (sed_cmds[ncmds].replace) | 133 | free(sed_cmds[ncmds].replace); |
134 | free(sed_cmds[ncmds].replace); | ||
135 | } | 134 | } |
136 | 135 | ||
137 | /* destroy the array */ | 136 | /* destroy the array */ |