From 9ef4282e9e32e857f4d0cac9df6d58f2cba159f4 Mon Sep 17 00:00:00 2001 From: reinelt Date: Wed, 3 Mar 2004 03:47:04 +0000 Subject: [lcd4linux @ 2004-03-03 03:47:04 by reinelt] big patch from Martin Hejl: - use qprintf() where appropriate - save CPU cycles on gettimeofday() - add quit() functions to free allocated memory - fixed lots of memory leaks git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@384 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- plugin_xmms.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'plugin_xmms.c') diff --git a/plugin_xmms.c b/plugin_xmms.c index 400c55c..25d3add 100644 --- a/plugin_xmms.c +++ b/plugin_xmms.c @@ -1,4 +1,4 @@ -/* $Id: plugin_xmms.c,v 1.8 2004/02/05 23:58:18 mkeil Exp $ +/* $Id: plugin_xmms.c,v 1.9 2004/03/03 03:47:04 reinelt Exp $ * * XMMS-Plugin for LCD4Linux * Copyright 2003 Markus Keil @@ -21,6 +21,13 @@ * * * $Log: plugin_xmms.c,v $ + * Revision 1.9 2004/03/03 03:47:04 reinelt + * big patch from Martin Hejl: + * - use qprintf() where appropriate + * - save CPU cycles on gettimeofday() + * - add quit() functions to free allocated memory + * - fixed lots of memory leaks + * * Revision 1.8 2004/02/05 23:58:18 mkeil * Fixed/Optimized Hashage-timings * @@ -157,3 +164,8 @@ int plugin_init_xmms (void) return 0; } + +void plugin_exit_xmms(void) +{ + hash_destroy(&xmms); +} -- cgit v1.2.3