Skip to contentSkip to conversation

pcm_plugin.c - vfree() checking cleanups

PATCH New [email protected] 1 participant 1 message Jan 4, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 13/29 pcm_plugin.c - vfree() checking cleanups

pcm_plugin.c vfree() checking cleanups.

Signed-off by: James Lamanna <[email protected]>

 pcm_plugin.c |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)
sound/core/oss/pcm_plugin.c +1 -2
@@ -219,8 +219,7 @@
 		plugin->private_free(plugin);
 	if (plugin->buf_channels)
 		kfree(plugin->buf_channels);
-	if (plugin->buf)
-		vfree(plugin->buf);
+	vfree(plugin->buf);
 	if (plugin->src_vmask)
 		kfree(plugin->src_vmask);
 	if (plugin->dst_vmask)

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors