avoid useless reallocs by removing squeeze call on temporary buffer
Differential Revision: https://phabricator.kde.org/D4941