coding style fix

This commit is contained in:
Nedko Arnaudov 2011-05-16 01:35:52 +03:00
parent 449b309cb6
commit b9f820573e
1 changed files with 5 additions and 1 deletions

View File

@ -211,8 +211,12 @@ ladish_recent_store_destroy(
ladish_recent_store_handle store_handle)
{
unsigned int i;
for (i = 0; i < store_ptr->max_items && store_ptr->items[i] != NULL; i++)
free (store_ptr->items [i]);
{
free(store_ptr->items[i]);
}
free(store_ptr->items);
free(store_ptr->path);
free(store_ptr);