| 67 | */ |
| 68 | |
| 69 | void |
| 70 | cupsDirClose(cups_dir_t *dp) /* I - Directory pointer */ |
| 71 | { |
| 72 | /* |
| 73 | * Range check input... |
| 74 | */ |
| 75 | |
| 76 | if (!dp) |
| 77 | return; |
| 78 | |
| 79 | /* |
| 80 | * Close an open directory handle... |
| 81 | */ |
| 82 | |
| 83 | if (dp->dir != INVALID_HANDLE_VALUE) |
| 84 | FindClose(dp->dir); |
| 85 | |
| 86 | /* |
| 87 | * Free memory used... |
| 88 | */ |
| 89 | |
| 90 | free(dp); |
| 91 | } |
| 92 | |
| 93 | |
| 94 | /* |
no outgoing calls