fbdev: bugfix: correct size parameter of munmap
authorJunghoon <jh13.son@samsung.com>
Wed, 24 Jun 2015 08:13:39 +0000 (17:13 +0900)
committerTaekyun Kim <tkq.kim@samsung.com>
Tue, 7 Jul 2015 06:56:51 +0000 (15:56 +0900)
Change-Id: I8b4a0b4daaff5c559a3eb6b1bb46af5292c4ec0e

fbdev/src/fbdev-output.c

index 837b05b..a94ada2 100644 (file)
@@ -101,7 +101,7 @@ fbdev_output_destroy(void *o)
         pixman_image_unref(output->frame_buffer_image);
 
     if (output->frame_buffer_pixels)
-        munmap(output->frame_buffer_pixels, output->w * output->stride);
+        munmap(output->frame_buffer_pixels, output->h * output->stride);
 
     free(output);
 }