diff --git a/libavdevice/dshow_pin.c b/libavdevice/dshow_pin.c
index 4953642bb9ecc97c059515781a28df46278e48f5..30e4d9585c9184ba21bbbb8343258d5a882566cf 100644
--- a/libavdevice/dshow_pin.c
+++ b/libavdevice/dshow_pin.c
@@ -358,5 +358,5 @@ libAVMemInputPin_Destroy(libAVMemInputPin *this)
 {
     libAVPin *pin = (libAVPin *) ((uint8_t *) this - imemoffset);
     dshowdebug("libAVMemInputPin_Destroy(%p)\n", this);
-    return libAVPin_Destroy(pin);
+    libAVPin_Destroy(pin);
 }