ba1f5b2 fix coverity resource leak in windows_plugin_add

Authored and Committed by rmeggins 11 years ago
    fix coverity resource leak in windows_plugin_add
    
    13056 Resource leak
    In windows_plugin_add(): Leak of memory or pointers to system resources (CWE-404)
    (cherry picked from commit ba92e5287970d09c4c280eda56c4e58bc064a2c1)