Fixed minor mem leaks when opening a camera fails.
Fixed minor mem leaks when opening a camera fails.

svn path=/trunk/libavg/; revision=3811

yyd01245/libavg,th3infinity/libavg,libavg/libavg,th3infinity/libavg,libavg/libavg,scotty007/libavg,scotty007/libavg,scotty007/libavg,th3infinity/libavg,th3infinity/libavg,scotty007/libavg,hoodie/libavg,libavg/libavg,hoodie/libavg,yyd01245/libavg,libavg/libavg,hoodie/libavg,yyd01245/libavg,yyd01245/libavg,hoodie/libavg