summaryrefslogtreecommitdiff
path: root/samples/BasicTutorial1.cs
diff options
context:
space:
mode:
Diffstat (limited to 'samples/BasicTutorial1.cs')
-rw-r--r--samples/BasicTutorial1.cs5
1 files changed, 0 insertions, 5 deletions
diff --git a/samples/BasicTutorial1.cs b/samples/BasicTutorial1.cs
index 4b2035d..f7b8c00 100644
--- a/samples/BasicTutorial1.cs
+++ b/samples/BasicTutorial1.cs
@@ -24,12 +24,7 @@ namespace GstreamerSharp
var msg = bus.TimedPopFiltered (Constants.CLOCK_TIME_NONE, MessageType.Eos | MessageType.Error);
// Free resources
- if (msg != null)
- msg.Dispose ();
-
- bus.Dispose ();
pipeline.SetState (State.Null);
- pipeline.Dispose ();
}
}
} \ No newline at end of file