Sfoglia il codice sorgente

vccd: fix a wrong free

intirain 4 anni fa
parent
commit
4ea8742f9a
3 ha cambiato i file con 3 aggiunte e 4 eliminazioni
  1. 1 1
      Makefile
  2. 2 2
      include/vcc/version.h
  3. 0 1
      main.c

+ 1 - 1
Makefile

@@ -1,6 +1,6 @@
 VCCD_MAJOR 		= 1
 VCCD_MINOR 		= 2
-VCCD_PATCH 		= 1
+VCCD_PATCH 		= 2
 VCCD_STR 		= -release 
 
 VCCD_COMPILE_TIME 	= $(shell date)

+ 2 - 2
include/vcc/version.h

@@ -1,2 +1,2 @@
-#define VCCD_VERSION "vccd 1.2.1 Sat Mar 19 21:04:43 CST 2022 root"
-#define VCCD_SYMVER "vccd 1.2.1 Sat Mar 19 21:04:43 CST 2022 root"
+#define VCCD_VERSION "vccd 1.2.2 Sun Mar 20 11:41:39 CST 2022 root"
+#define VCCD_SYMVER "vccd 1.2.2 Sun Mar 20 11:41:39 CST 2022 root"

+ 0 - 1
main.c

@@ -214,7 +214,6 @@ int main(int argc, const char **argv) {
 					vcc_close_connection(fds[i].fd);
 
 					fds[i].fd = -1;
-					free(buf);
 
 					continue;
 				}