[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Seg fault calling free_menu

From: Clemens Ladisch
Subject: Re: Seg fault calling free_menu
Date: Tue, 01 Jun 2010 15:08:36 +0200
User-agent: Thunderbird (Windows/20100228)

pcazallas wrote:
> When I try to free a "MENU* myMenu" var calling "free_menu(myMenu)", it
> throws a Segfault. If I free the variable just calling "free(myMenu)", it
> does not occur...
> I am allocating memory for the menu

With new_menu?

> and the items relying it, and freeing all of them as well.

Are you freeing the items after the menu?

> Any suggestion about which could be the reason of the Segfault?

Some bug?  In your source code?  Which I don't know ...


reply via email to

[Prev in Thread] Current Thread [Next in Thread]