From patchwork Mon Nov 20 11:09:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefano Babic X-Patchwork-Id: 839511 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:400c:c09::23a; helo=mail-wm0-x23a.google.com; envelope-from=swupdate+bncbcxploxj6ikrbkhqzliakgqeezkzafa@googlegroups.com; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.b="flbkfUtK"; dkim-atps=neutral Received: from mail-wm0-x23a.google.com (mail-wm0-x23a.google.com [IPv6:2a00:1450:400c:c09::23a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3ygQxR0GcVz9s5L for ; Mon, 20 Nov 2017 22:10:34 +1100 (AEDT) Received: by mail-wm0-x23a.google.com with SMTP id p65sf1962004wma.1 for ; Mon, 20 Nov 2017 03:10:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1511176232; cv=pass; d=google.com; s=arc-20160816; b=eMZjjr/7/znue6TijwuyM41A5tthftMC8OJgI4xZKJRAdYjFoXgIBAIQgN110U7OjC IbYL3yV1NBEaSUV9wOI7+WeF/L7Y1v07DrFFPEAul0aue48cx6uwzuOkuOe9O5JiUy9N aTVQWyqai3eCSkWi5wqW21XY/f+rEnq7DFzSeDvq4DJmgzgVPdunUBY8EvRirP9/0VOX aKAPpn2l+j3KvPjuPfWqUTu1LdKhy0ViUXDri1eihZ/+mdX3wwv7Esosvs2GNf+F2GsQ 3FA9tjUVxtTMa14mkEWMuV/qmE0Ds1LJLTbfD6RUcFMNbZSfABCWjkAF6tpgKvZ5jmdM gWkw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:arc-authentication-results :arc-message-signature:mime-version:sender:dkim-signature :arc-authentication-results; bh=zozAwAyzyWXaPwdsqT+zmB6p2Xwv439+10g0KxBr++A=; b=rFm1eE620y7+/X5flIqqknyAdi7sIuMfE06RXrKRrbaIePoi/7RY1HnngwGtyPcBRn C2qM+LRkcZv3ecPfsZp3KALSJnnPC0D23bPXVFIuPy80JakqPGmMxqzLBSiuZbL9iBhP pBM6dWgd5Y+BFbhFv1JrJzSrpOv5Xlk2wUXdz5aYxiXjckpEa32kHLxGzUpzMeR7EhYI 4mmY60UqcIMV5VGp1j1+W0PgwXKN1dd1gF6MAtmDPypJorx1J0amoqsqqY3r0mmsctM2 N/SqAL57M+BWCKbykoNtKPCeHjEO5cudV3XgGavH+52P1vjO4wMjI083mKHropBavEXq T/nA== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:from:to:cc:subject:date:message-id:in-reply-to :references:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=zozAwAyzyWXaPwdsqT+zmB6p2Xwv439+10g0KxBr++A=; b=flbkfUtKXI0FL7DHaWhi71AowTDFfEuXbMfvTDDE3dnJMBrZJCz2jd5pO8fIxoqTJa JBV9chWk1wcbtAxXn+zZRNfO7PplUmyznRxdwo7K/H3iWZrwufIgOoQbBkHoiBDIxbMO l1ZNtjoGijmgzOuYr9H3YO2LnP1BxFf55II1XfGTxxA579kmPDHD0/fHXNlelgZo9Heg NLpRqTHioGW6uS/tDU58l8YF+HqFdmm+BhvHJlHkXdjzPhyIPP+yWgbw2hrJdRKT9AhG H5ivdKc1EpTsG6Icsiyo1mTkztgIoa7XKiEVT2r69ESvLZ3Kdesg/OLkRnYeOk0YVhCH id8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:from:to:cc:subject:date :message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=zozAwAyzyWXaPwdsqT+zmB6p2Xwv439+10g0KxBr++A=; b=uKoMPqlgeT6/VGDxlVuKjwQmQeWtHBHFLgkzNplBqmWBo5nlwJPhZAF9yTJ5DDtJQo 5/ucOoyJAh16cljB77lnllHu8cNuYRS3hntx6KrlGz3noqCmjmUpFZVy1oAwRXAI/eg/ R+tffiybppuT5lCnvnW7KjjRnoA/kWyJFxOiCoaIkHSwcAOAYoj83U7ywgv6pboiMP/+ jUnrNIn5x4Tl0gr7lunMY0rpdsqdulCix4HfF81G29692xEnhzvRL4N2IVmkOgDrNHyX mOzx80s3LSJ09COBrhQslhs4hNMajcX6ATfnDxx9pXXR6F3jJCsZsI9S2Yr4BIlA/W4+ gwHA== Sender: swupdate@googlegroups.com X-Gm-Message-State: AJaThX5axU9nodVowlJ4JygUosWpXb6QNIzh63/+1wUVFnUmI4/kyxij eWQCL9sMoaUpOgJiufwCqys= X-Google-Smtp-Source: AGs4zMYbykyzFVCs0WQvlzDkIJQcL225Epw1hqALVZGF0lyZNvl9q0ZsRSaNrBlAe+EgvChwrEI4ZQ== X-Received: by 10.28.199.8 with SMTP id x8mr143620wmf.1.1511176232442; Mon, 20 Nov 2017 03:10:32 -0800 (PST) MIME-Version: 1.0 X-BeenThere: swupdate@googlegroups.com Received: by 10.28.130.71 with SMTP id e68ls898327wmd.9.gmail; Mon, 20 Nov 2017 03:10:32 -0800 (PST) X-Received: by 10.223.157.206 with SMTP id q14mr155704wre.11.1511176232175; Mon, 20 Nov 2017 03:10:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511176232; cv=none; d=google.com; s=arc-20160816; b=FAqp/Gkj4wi6VI3ePbdYmgBkbeFJ+UmLQCoubDG1HQwEbwVHOsMGhr20w2GMBKS1xE 4tuGWzY6caKHWVRKORJ/wRFGBwx2vHduUYuqUXUDmHheHg85oY220NGn1L5eiUTC9q81 p5G/xDj1dK6v/mLDiNVY4sr4qPzd+SQvvE6Ywr21iZGnziilZiOLKwuPRY9aD2beMZik bYNOcnyHAgSBOsWNDZn0sVfc0CFjBbzhvE6In0QLGYM4SHjR+a/AFQHM/qq71qFt2UQS NSeD3+MC+sCZDrTSAyUpGPIuz3g+PsN3FJECKInKBDbchvajbmHjCOJ9/DbQ1Bn+3JBN PBdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=ebXDL02GH2Gz13gROglPBsQ0wq9mghqrt74X12up1Iw=; b=VO5CcZ/yzU203XHRIX0ARtEI3e9A4B+EkpecZypy7gEUV/W/v13KA69wd33FuoD0f3 BaQYh02PCX/D4Qc2crQyNIKwX2s6SXLXhH/i8HKzepWMmkeax79+EFD4T9gTiwIIDWTs rCYnkACn8y+9pCu0pJPMoxRENXSYkrr0hHCo/HB82eKa2ZnQRaRepDXFvpBI1NfjHhuk r3+ewOU+ERcxJhhfvNxDjCf6/nNRtC7b9Ip12mOkIBYTo4G06v6RnepCEWYSA1Bf80nI P2NLv5+fuXUvVFlXn6tYLp3+uQmbk1L2N3RHaRz7llj85Pzn/pFrybTKp2Xx0/nqegFj n2bQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de Received: from mail-out.m-online.net (mail-out.m-online.net. [212.18.0.9]) by gmr-mx.google.com with ESMTPS id r70si388593wmg.2.2017.11.20.03.10.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Nov 2017 03:10:32 -0800 (PST) Received-SPF: neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) client-ip=212.18.0.9; Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3ygQxM6vlRz1qsDt; Mon, 20 Nov 2017 12:10:31 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 3ygQxM6SL8z1qqkW; Mon, 20 Nov 2017 12:10:31 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id SesQB9SbcaTw; Mon, 20 Nov 2017 12:10:30 +0100 (CET) Received: from babic.homelinux.org (host-88-217-136-221.customer.m-online.net [88.217.136.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Mon, 20 Nov 2017 12:10:30 +0100 (CET) Received: from localhost (mail.babic.homelinux.org [127.0.0.1]) by babic.homelinux.org (Postfix) with ESMTP id 5E6C2454057C; Mon, 20 Nov 2017 12:10:29 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at babic.homelinux.org Received: from babic.homelinux.org ([127.0.0.1]) by localhost (mail.babic.homelinux.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hXsyxJXzeixH; Mon, 20 Nov 2017 12:10:25 +0100 (CET) Received: from papero.fritz.box (papero.fritz.box [192.168.178.132]) by babic.homelinux.org (Postfix) with ESMTP id 755A94540625; Mon, 20 Nov 2017 12:10:19 +0100 (CET) From: Stefano Babic To: swupdate@googlegroups.com Cc: Stefano Babic Subject: [swupdate] [PATCH 05/17] drop db properties in cleanup Date: Mon, 20 Nov 2017 12:09:58 +0100 Message-Id: <1511176210-28928-5-git-send-email-sbabic@denx.de> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1511176210-28928-1-git-send-email-sbabic@denx.de> References: <1511176210-28928-1-git-send-email-sbabic@denx.de> X-Original-Sender: sbabic@denx.de X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Signed-off-by: Stefano Babic --- corelib/installer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/corelib/installer.c b/corelib/installer.c index ae86d09..b874e7e 100644 --- a/corelib/installer.c +++ b/corelib/installer.c @@ -429,6 +429,7 @@ void cleanup_files(struct swupdate_cfg *software) { } remove_sw_file(fn); } + dict_drop_db(&img->properties); LIST_REMOVE(img, next); free(img); }