forked from enlightenment/efl
elm: Fix memleaks for string duplicated in parse_str.
We get a strdup'ed string here so we need to take care about freeing it. SVN revision: 80941
This commit is contained in:
parent
2e31628963
commit
c0b1b133fe
|
@ -1091,6 +1091,7 @@ st_collection_page_items_item_date_default(void)
|
||||||
current_item->spec.d.def.m = lt->tm_mon + 1;
|
current_item->spec.d.def.m = lt->tm_mon + 1;
|
||||||
current_item->spec.d.def.d = lt->tm_mday;
|
current_item->spec.d.def.d = lt->tm_mday;
|
||||||
}
|
}
|
||||||
|
free(date);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1119,6 +1120,7 @@ st_collection_page_items_item_date_max(void)
|
||||||
current_item->spec.d.max.m = lt->tm_mon + 1;
|
current_item->spec.d.max.m = lt->tm_mon + 1;
|
||||||
current_item->spec.d.max.d = lt->tm_mday;
|
current_item->spec.d.max.d = lt->tm_mday;
|
||||||
}
|
}
|
||||||
|
free(date);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1147,6 +1149,7 @@ st_collection_page_items_item_date_min(void)
|
||||||
current_item->spec.d.min.m = lt->tm_mon + 1;
|
current_item->spec.d.min.m = lt->tm_mon + 1;
|
||||||
current_item->spec.d.min.d = lt->tm_mday;
|
current_item->spec.d.min.d = lt->tm_mday;
|
||||||
}
|
}
|
||||||
|
free(date);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue