@vercel/og 0.6.2 → 0.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18786,7 +18786,11 @@ async function render(satori2, resvg, opts, defaultFonts, element) {
18786
18786
  value: options.width
18787
18787
  }
18788
18788
  });
18789
- return resvgJS.render().asPng();
18789
+ const pngData = resvgJS.render();
18790
+ const pngBuffer = pngData.asPng();
18791
+ pngData.free();
18792
+ resvgJS.free();
18793
+ return pngBuffer;
18790
18794
  }
18791
18795
 
18792
18796
  // src/figma/index.tsx