sh: fix seq_file memory leak
[linux-2.6.git] / arch / sh / mm / pmb.c
index 46911bcbf17b01e53e92915c63a84db5616abe4d..cef727669c8759dde6ce20ceb9ecc138d71a28bb 100644 (file)
@@ -385,7 +385,7 @@ static const struct file_operations pmb_debugfs_fops = {
        .open           = pmb_debugfs_open,
        .read           = seq_read,
        .llseek         = seq_lseek,
-       .release        = seq_release,
+       .release        = single_release,
 };
 
 static int __init pmb_debugfs_init(void)