** Try to delete the temporary file (if there is one) and free the ** memory used to hold the name of the temp file. */
| 15780 | ** memory used to hold the name of the temp file. |
| 15781 | */ |
| 15782 | static void clearTempFile(ShellState *p){ |
| 15783 | if( p->zTempFile==0 ) return; |
| 15784 | if( p->doXdgOpen ) return; |
| 15785 | if( shellDeleteFile(p->zTempFile) ) return; |
| 15786 | sqlite3_free(p->zTempFile); |
| 15787 | p->zTempFile = 0; |
| 15788 | } |
| 15789 | |
| 15790 | /* |
| 15791 | ** Create a new temp file name with the given suffix. |
no test coverage detected