dns: use alloca instead of malloc to fix memleak in dns_send_answer()
authorFelix Fietkau <nbd@openwrt.org>
Tue, 3 Jun 2014 21:23:12 +0000 (23:23 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 3 Jun 2014 21:23:12 +0000 (23:23 +0200)
commit85ac2adb78d343c0bf75e055380afa557816546e
treefe1b0ee94b66e6ebf0579442ddc40e70b17f4401
parentccc95c1e13927a081690e0b3dde7441a86c6f266
dns: use alloca instead of malloc to fix memleak in dns_send_answer()

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
dns.c