mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-07 06:06:08 +00:00
reverted gccgo argv_list free
This commit is contained in:
+4
-4
@@ -720,18 +720,18 @@ char *uwsgi_manage_placeholder(char *key) {
|
||||
}
|
||||
else if (!strcmp(p, "++")) {
|
||||
if (current_value) {
|
||||
int64_t tmp_value = strtoll(current_value, NULL, 10);
|
||||
int64_t tmp_num = strtoll(current_value, NULL, 10);
|
||||
free(current_value);
|
||||
current_value = uwsgi_64bit2str(tmp_value+1);
|
||||
current_value = uwsgi_64bit2str(tmp_num+1);
|
||||
}
|
||||
state = concat;
|
||||
continue;
|
||||
}
|
||||
else if (!strcmp(p, "--")) {
|
||||
if (current_value) {
|
||||
int64_t tmp_value = strtoll(current_value, NULL, 10);
|
||||
int64_t tmp_num = strtoll(current_value, NULL, 10);
|
||||
free(current_value);
|
||||
current_value = uwsgi_64bit2str(tmp_value-1);
|
||||
current_value = uwsgi_64bit2str(tmp_num-1);
|
||||
}
|
||||
state = concat;
|
||||
continue;
|
||||
|
||||
@@ -203,7 +203,6 @@ static void uwsgi_gccgo_initialize() {
|
||||
n++;
|
||||
}
|
||||
runtime_args(argc, argv);
|
||||
free(argv_list);
|
||||
}
|
||||
else {
|
||||
char *argv[2] = {0,0};
|
||||
|
||||
Reference in New Issue
Block a user