about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-10-25 14:06:03 +0200
committerMichael Vetter <jubalh@iodoru.org>2019-10-25 14:06:03 +0200
commitf186eb94da785f1eec33056837201c99e7e4f0d2 (patch)
tree8c5104613dff4da58e49b0d3ad13cb6bea625533
parent6a88af6bc68de3ca742b9d5c32714e4e93dc59f6 (diff)
downloadprofani-tty-f186eb94da785f1eec33056837201c99e7e4f0d2.tar.gz
Remove not neede free
It's in the def == NULL case. So will always be noop.
-rw-r--r--src/command/cmd_funcs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c
index b0f578d6..ad9a2fb8 100644
--- a/src/command/cmd_funcs.c
+++ b/src/command/cmd_funcs.c
@@ -390,7 +390,6 @@ cmd_connect(ProfWin *window, const char *const command, gchar **args)
             cons_show("Using default account %s.", user);
         } else {
             cons_show("No default account.");
-            g_free(def);
             options_destroy(options);
             return TRUE;
         }
href='#n120'>120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262