fukuchi/libqrencode — pull request #46 by tklauser (2014-04-16 14:38:44+00:00)
Title: Check return value of BitStream_expand

All other callsites of BitStream_expand check for the return value, so do it here as well, since the realloc() could fail and BitStream_expand would then return -1 to signal this.