Message ID | 1474704193-2864-1-git-send-email-ardeleanalex@gmail.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3sh2sT5W2Bz9s9Y for <incoming@patchwork.ozlabs.org>; Sat, 24 Sep 2016 18:07:57 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=h3uaDJJF; dkim-atps=neutral Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bnhwK-0000ow-AQ; Sat, 24 Sep 2016 08:04:04 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bnhwF-0000mV-Mr for lede-dev@lists.infradead.org; Sat, 24 Sep 2016 08:04:00 +0000 Received: by mail-wm0-x244.google.com with SMTP id b184so5939569wma.3 for <lede-dev@lists.infradead.org>; Sat, 24 Sep 2016 01:03:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=QqqVee4TO92Kt1Qr7tG9GwXtHfDRbDYeXzz8iEvCA3c=; b=h3uaDJJFNBd0VZiJDeSeuMZ2WHfqYMaC/Rjivr4gGvU5ztGSLn1k2BGivMU83GF++X 5H2jRnx2N/jn0I0p6nVtrAF3DyGo4+aYUDGiqU8r69SfP8xmtaOTHOAP7xAonRUsPrbH rtmqDB2LBgHWrAJSsFRflAaxTAoPvPfJcg5MshGlR7j5GMKsByRRoEAZ9GkQmUf5pY/x c5Lq2VQnozACpur7SQi6xeQp7V46mgM7AnEgvzsWAYHP+ayc4neJZLxeTKfaseJeKRyN Vn5tlldTj6XomhVZNvkHW6liDITTXKlbdzG6CkUIynywkmppXFcQbdxe/e88mXCajD8p tVfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=QqqVee4TO92Kt1Qr7tG9GwXtHfDRbDYeXzz8iEvCA3c=; b=fhwZcKqe+OYvezkDkMiO/JyGdI82wHT6e3cT9PA0zO2rjGydWT5hO4WREB0M5ayGSE cjVFZkYopppx/EmPW4bVKCwWEmuo3lhFp5L2/D/sLKI7IK5os3B3Rpxyv2xdZD+lulVC qM8rLWB1tGrtYkYAEaXQxbfjQvCB/gZxU86kr3eWXFgeTnELHM/BuCMtlpoG6A6+b0hl xmfqVNpOog6aIqzCfL63oburmMmquPiRpzV2uyzuu67iOG0mm7L8V276kr/0ytIbQM8S B486DZfuTF6WJoY9Gi3Etg+5+CqkakpRsUpjtdjyoqfPa2KVhyJ99BAEuM5MsHNn/9qY d0kQ== X-Gm-Message-State: AA6/9RnFebkcWLSXis6GyFfET18fWdAe+11YSSyuIEXvY4H24qV2mq58oo1iwr1CPrOFug== X-Received: by 10.28.155.212 with SMTP id d203mr6348401wme.103.1474704217457; Sat, 24 Sep 2016 01:03:37 -0700 (PDT) Received: from localhost.localdomain ([86.123.153.28]) by smtp.gmail.com with ESMTPSA id ab9sm10971867wjc.7.2016.09.24.01.03.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 24 Sep 2016 01:03:36 -0700 (PDT) From: Alexandru Ardelean <ardeleanalex@gmail.com> To: lede-dev@lists.infradead.org Date: Sat, 24 Sep 2016 11:03:12 +0300 Message-Id: <1474704193-2864-1-git-send-email-ardeleanalex@gmail.com> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160924_010359_935754_C565F648 X-CRM114-Status: UNSURE ( 7.30 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:400c:c09:0:0:0:244 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (ardeleanalex[at]gmail.com) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid Subject: [LEDE-DEV] [PATCH 1/2] ubox/logd: free regex's on log_shutdown() call X-BeenThere: lede-dev@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <lede-dev.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/lede-dev>, <mailto:lede-dev-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/lede-dev/> List-Post: <mailto:lede-dev@lists.infradead.org> List-Help: <mailto:lede-dev-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/lede-dev>, <mailto:lede-dev-request@lists.infradead.org?subject=subscribe> Cc: Alexandru Ardelean <ardeleanalex@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Lede-dev" <lede-dev-bounces@lists.infradead.org> Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
diff --git a/log/syslog.c b/log/syslog.c index e8b6774..ac4f1ae 100644 --- a/log/syslog.c +++ b/log/syslog.c @@ -300,4 +300,6 @@ log_shutdown(void) close(slog.fd.fd); close(klog.fd.fd); free(log); + regfree(&pat_prio); + regfree(&pat_tstamp); }
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> --- log/syslog.c | 2 ++ 1 file changed, 2 insertions(+)