Browse code

stun: removed obsolete DYN_BUF define condition

Daniel-Constantin Mierla authored on 21/05/2020 08:04:31
Showing 1 changed files
... ...
@@ -928,10 +928,6 @@ static int reallock_buffer(struct stun_buffer* buffer, UINT_T len)
928 928
 static void clean_memory(struct stun_msg* req,
929 929
 				struct stun_msg* res,	struct stun_unknown_att* unknown)
930 930
 {
931
-#ifdef DYN_BUF
932
-	pkg_free(req->msg.buf.s);
933
-#endif
934
-
935 931
 	if (res->msg.buf.s != NULL) {
936 932
 		pkg_free(res->msg.buf.s);
937 933
 	}