server: malloc/free fix
[fio.git] / server.c
index 8f93d2f..648758e 100644 (file)
--- a/server.c
+++ b/server.c
@@ -302,6 +302,7 @@ static int handle_connection(int sk)
                        break;
 
                free(cmd);
+               cmd = NULL;
        }
 
        if (cmd)