4 Apr
2011
4 Apr
'11
5:30 p.m.
On 04/04/11 01:53, sudarshan.bisht@nokia.com wrote:
@@ -1847,6 +1848,7 @@ int snd_config_delete(snd_config_t *config) list_del(&config->list); free(config->id); free(config);
- config = NULL; return 0;
}
I don't see how this could be correct. You free memory, clear the calling param pointing to it and then return? What is the point of nulling the local pointer?
Regards, Steve