gc: Add static declarations where needed.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8447 4b0bc96b-bc66-0410-9d44-ebda105a78c1
log: Free log history on exit.

Make valgrind a little bit happier.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8448 4b0bc96b-bc66-0410-9d44-ebda105a78c1
readers: Do not leak entitlements on card change and reader freeing.

Reader entitlements are leaken when card is changed. Probably nobody
noticed because changing cards is not an event that happen often.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8449 4b0bc96b-bc66-0410-9d44-ebda105a78c1
readers: Free configured readers on exit.

Make valgrind a little bit happier.

git-svn-id: http://streamboard.de.vu/svn/oscam/trunk@8450 4b0bc96b-bc66-0410-9d44-ebda105a78c1