| 83 | } |
| 84 | |
| 85 | void free_tmpdir(MY_TMPDIR *tmpdir) |
| 86 | { |
| 87 | uint i; |
| 88 | if (!tmpdir->full_list.elements) |
| 89 | return; |
| 90 | for (i=0; i<=tmpdir->max; i++) |
| 91 | my_free(tmpdir->list[i]); |
| 92 | delete_dynamic(&tmpdir->full_list); |
| 93 | mysql_mutex_destroy(&tmpdir->mutex); |
| 94 | } |
| 95 |
no test coverage detected