diff --git a/GI/Vte/Structs/CharAttributes.hs b/GI/Vte/Structs/CharAttributes.hs
--- a/GI/Vte/Structs/CharAttributes.hs
+++ b/GI/Vte/Structs/CharAttributes.hs
@@ -28,9 +28,14 @@
 import GI.Vte.Callbacks
 
 newtype CharAttributes = CharAttributes (ForeignPtr CharAttributes)
+instance WrappedPtr CharAttributes where
+    wrappedPtrCalloc = callocBytes 40
+    wrappedPtrCopy = copyPtr 40
+    wrappedPtrFree = Just ptr_to_g_free
+
 -- | Construct a `CharAttributes` struct initialized to zero.
 newZeroCharAttributes :: MonadIO m => m CharAttributes
-newZeroCharAttributes = liftIO $ callocBytes 40 >>= wrapPtr CharAttributes
+newZeroCharAttributes = liftIO $ wrappedPtrCalloc >>= wrapPtr CharAttributes
 
 instance tag ~ 'AttrSet => Constructible CharAttributes tag where
     new _ attrs = do
diff --git a/GI/Vte/Structs/CharAttributes.hs-boot b/GI/Vte/Structs/CharAttributes.hs-boot
--- a/GI/Vte/Structs/CharAttributes.hs-boot
+++ b/GI/Vte/Structs/CharAttributes.hs-boot
@@ -8,3 +8,4 @@
 import qualified Data.Map as Map
 
 newtype CharAttributes = CharAttributes (ForeignPtr CharAttributes)
+instance WrappedPtr CharAttributes where
diff --git a/gi-vte.cabal b/gi-vte.cabal
--- a/gi-vte.cabal
+++ b/gi-vte.cabal
@@ -1,6 +1,6 @@
 -- Autogenerated, do not edit.
 name:               gi-vte
-version:            0.0.42.14
+version:            0.0.42.15
 synopsis:           Vte bindings
 description:        Bindings for Vte, autogenerated by haskell-gi.
 homepage:           https://github.com/haskell-gi/haskell-gi
@@ -31,14 +31,14 @@
                         GI.Vte.Structs.CharAttributes
     pkgconfig-depends:  vte-2.91 >= 0.42
     build-depends: base >= 4.7 && <5,
-        haskell-gi-base >= 0.14 && < 1,
-        gi-atk >= 0.2.18.14 && < 0.2.19,
-        gi-glib >= 0.2.46.14 && < 0.2.47,
-        gi-gobject >= 0.2.46.14 && < 0.2.47,
-        gi-gdk >= 0.3.18.14 && < 0.3.19,
-        gi-gio >= 0.2.46.14 && < 0.2.47,
-        gi-gtk >= 0.3.18.14 && < 0.3.19,
-        gi-pango >= 0.1.38.14 && < 0.1.39,
+        haskell-gi-base >= 0.15 && < 1,
+        gi-atk >= 0.2.18.15 && < 0.2.19,
+        gi-glib >= 0.2.46.15 && < 0.2.47,
+        gi-gobject >= 0.2.46.15 && < 0.2.47,
+        gi-gdk >= 0.3.18.15 && < 0.3.19,
+        gi-gio >= 0.2.46.15 && < 0.2.47,
+        gi-gtk >= 0.3.18.15 && < 0.3.19,
+        gi-pango >= 0.1.38.15 && < 0.1.39,
         bytestring >= 0.10,
         containers >= 0.5,
         text >= 1.0,
