[sr-dev] git:4.2:7cb9428e: tmx: check for empty result not to allocate 0 bytes