webapp: fix memory leak when detecting mime type/encoding
webapp: fix memory leak when detecting mime type/encoding

Debian/debsources,vivekanand1101/debsources,oorestisime/debsources,clemux/debsources,oorestisime/debsources,Debian/debsources,clemux/debsources,zacchiro/debsources,Debian/debsources,nonas/debian-qa,nonas/debian-qa,devoxel/debsources,oorestisime/debsources,vivekanand1101/debsources,Debian/debsources,devoxel/debsources,matthieucan/debsources,nonas/debian-qa,oorestisime/debsources,devoxel/debsources,devoxel/debsources,clemux/debsources,matthieucan/debsources,nonas/debian-qa,sophiejjj/debsources,zacchiro/debsources,oorestisime/debsources,vivekanand1101/debsources,Debian/debsources,zacchiro/debsources,sophiejjj/debsources,clemux/debsources,matthieucan/debsources,sophiejjj/debsources,devoxel/debsources,matthieucan/debsources,zacchiro/debsources,sophiejjj/debsources,vivekanand1101/debsources,sophiejjj/debsources,zacchiro/debsources,vivekanand1101/debsources,matthieucan/debsources,clemux/debsources