]> git.sesse.net Git - nageru/blobdiff - decklink_util.cpp
Add the GPU memory metrics to the Grafana dashboard.
[nageru] / decklink_util.cpp
index a6bdfd9cd65fe4831491a515346bd53322d600e7..d8081961e9880a2c35ab3216cb9794f6b5f8e5c5 100644 (file)
@@ -20,6 +20,7 @@ map<uint32_t, VideoMode> summarize_video_modes(IDeckLinkDisplayModeIterator *mod
                        mode.name = "Unknown mode";
                } else {
                        mode.name = mode_name;
+                       free((char *)mode_name);
                }
 
                mode.autodetect = false;