Browse code

core: parser - free local unused param structure

(cherry picked from commit 116ef94420bf6ed9e0ae3bc08a612d8d0c4aa0a7)
(cherry picked from commit 479a6669da3bd03a9bd54ea4612192ee0b31f86a)
(cherry picked from commit 99dd461fb14c2eb3803d7708c229bb4a1ffe9d08)

Daniel-Constantin Mierla authored on 06/09/2021 11:21:33 • Henning Westerholt committed on 22/10/2021 12:11:31
Showing 1 changed files
... ...
@@ -555,6 +555,9 @@ endofheader:
555 555
 					saved_status, (int)(tmp - buffer), ZSW(buffer));
556 556
 			goto error;
557 557
 	}
558
+	if(newparam) {
559
+		pkg_free(newparam);
560
+	}
558 561
 	*returned_status = saved_status;
559 562
 	return tmp;
560 563