Tag: cc58cbb88569e3ecb9786b3da891e7d019d2cfff

staging: tidspbridge: Clean up error-handling code

Author: Julia Lawall <julia@diku.dk> In the first hunk, 0 is returned on memory allocation failure, even though other failures return -ENOMEM or other similar values. In the second hunk, there was error handling code that returned without freeing psz_path_name. A simplified version of the semantic match that finds the first problem is as follows: (http://coccinelle.lip6.fr/) …

Lire la suite