Changeset 121752 in webkit
- Timestamp:
- Jul 3, 2012 3:04:12 AM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r121751 r121752 1 2012-07-03 Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> 2 3 [EFL] [WK2] Don't call eina_iterator_free() if iterator is NULL 4 https://bugs.webkit.org/show_bug.cgi?id=90076 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 Add a null check to prevent calling eina_iterator_free() when 9 iterator is NULL. 10 11 No new tests. This patch doesn't change behavior. 12 13 * platform/efl/FileSystemEfl.cpp: 14 (WebCore::listDirectory): Early return when iterator is NULL. 15 1 16 2012-07-03 Alexander Pavlov <apavlov@chromium.org> 2 17 -
trunk/Source/WebCore/platform/efl/FileSystemEfl.cpp
r121467 r121752 92 92 93 93 Eina_Iterator* it = eina_file_ls(path.utf8().data()); 94 // FIXME: Early return if the iterator is null to avoid error messages from eina_iterator_free(). 95 // This check can be removed once the magic check on _free() removed in Eina. 96 // http://www.mail-archive.com/enlightenment-devel@lists.sourceforge.net/msg42944.html 97 if (!it) 98 return matchingEntries; 99 94 100 EINA_ITERATOR_FOREACH(it, f_name) { 95 101 if (!fnmatch(cfilter.data(), f_name, 0))
Note: See TracChangeset
for help on using the changeset viewer.