pidgin/pidgin

Fix some errors that scanbuild found
release-2.x.y
2021-06-03, Gary Kramlich
a4a68d315090
Fix some errors that scanbuild found

Testing Done:
Verified that scanbuild no longer detects the errors.

Reviewed at https://reviews.imfreedom.org/r/718/
FROM pidgin/release-builder:release-2.x.y AS build
COPY . /pidgin
RUN set -ex && \
cd /pidgin && \
./autogen.sh --enable-debug && \
make -s -j$(nproc) docs
FROM rwgrim/goserve
EXPOSE 3000
COPY --from=build /pidgin/doc/html html