gplugin/gplugin

Simplify some error freeing

13 months ago, Elliott Sales de Andrade
574a15115c40
Simplify some error freeing

Also, clarify the state of an `error` in a test.

Testing Done:
Compiled and ran tests.

Reviewed at https://reviews.imfreedom.org/r/2380/
syntax: glob
.*.swp
*.debhelper
*.orig
*.pyc
*.ui~
\#*.ui\#
syntax: regexp
^build.*\/
^packaging\/debian\/tmp\/
^packaging\/debian\/(.+\.)?(substvars|debhelper\.log)$
^packaging\/debian\/build.*\/
^packaging\/debian\/libgplugin0?(-.+)?\/
^packaging\/debian\/gir1.2-gplugin-0.0\/
^packaging\/debian\/files$
^po\/.*\.pot$
^obj-x86_64-linux-gnu\/
^debian\/?$
^subprojects\/.+\/