Skip to content

Commit 099354c

Browse files
committed
Avoid double instantiation
1 parent c4bef48 commit 099354c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/webserver.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,6 @@ int webserver::answer_to_connection(void* cls, MHD_Connection* connection,
966966
);
967967
}
968968

969-
mr->standardized_url = new string();
970969
internal_unescaper((void*) static_cast<webserver*>(cls), (char*) url);
971970
mr->standardized_url = new string(http_utils::standardize_url(url));
972971

0 commit comments

Comments
 (0)