* [patch 1/1] backend.c - vfree() checking cleanups
@ 2005-06-20 21:51 domen
0 siblings, 0 replies; only message in thread
From: domen @ 2005-06-20 21:51 UTC (permalink / raw)
To: davej; +Cc: linux-kernel, domen
[-- 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)
--
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-06-20 23:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-20 21:51 [patch 1/1] backend.c - vfree() checking cleanups domen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.