From: domen@coderock.org
To: davej@codemonkey.org.uk
Cc: linux-kernel@vger.kernel.org, domen@coderock.org
Subject: [patch 1/1] backend.c - vfree() checking cleanups
Date: Mon, 20 Jun 2005 23:51:57 +0200 [thread overview]
Message-ID: <20050620215156.762797000@nd47.coderock.org> (raw)
[-- Attachment #1: vfree-drivers_char_agp_backend.patch --]
[-- Type: text/plain, Size: 840 bytes --]
From: jlamanna@gmail.com
backend.c vfree() checking cleanups.
Signed-off by: James Lamanna <jlamanna@gmail.com>
Signed-off-by: Domen Puncer <domen@coderock.org>
---
backend.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
Index: quilt/drivers/char/agp/backend.c
===================================================================
--- quilt.orig/drivers/char/agp/backend.c
+++ quilt/drivers/char/agp/backend.c
@@ -206,10 +206,9 @@ static void agp_backend_cleanup(struct a
bridge->driver->cleanup();
if (bridge->driver->free_gatt_table)
bridge->driver->free_gatt_table(bridge);
- if (bridge->key_list) {
- vfree(bridge->key_list);
- bridge->key_list = NULL;
- }
+
+ vfree(bridge->key_list);
+ bridge->key_list = NULL;
if (bridge->driver->agp_destroy_page &&
bridge->driver->needs_scratch_page)
--
reply other threads:[~2005-06-20 23:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050620215156.762797000@nd47.coderock.org \
--to=domen@coderock.org \
--cc=davej@codemonkey.org.uk \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox