On Sun, Sep 10, 2017 at 8:02 AM, Martin Kepplinger <martink@xxxxxxxxx> wrote: > sort_array() locally allocates a list it. Let's free it before returning > in order to avoid memory to leak. > > Signed-off-by: Martin Kepplinger <martink@xxxxxxxxx> Applied. While I am reading the code in that function, I notice there is expression_list_size() which can get the size of the expression list. There is also a sort_list() in sort.c which can simplify sort_array(). Chris -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html