Tag: f35691062a138484b51bf53b36ae8a4495d8fb91

drivers/video/gbefb.c: eliminate memory leak

Author: Julia Lawall <julia@diku.dk> This code is preceded by a call to framebuffer_alloc, which allocates memory, so this memory should be freed before leaving the function in an error case. out_release_framebuffer just frees the frame buffer and returns. A simplified version of the semantic match that finds this problem is: (http://coccinelle.lip6.fr/) // @r exists@ local …

Lire la suite