• Benjamin Otte's avatar
    csskeyframes: Split new() into alloc() and new() · 10fa786d
    Benjamin Otte authored
    The new() function is supposed to return an empty fully initialized
    GtkCssKeyframes object, while the alloc() function just allocates and
    initializes static values. So alloc() can be used for copying or
    resolving keyframes.
    Fixes a memleak when resolving keyframes.
gtkcsskeyframes.c 16.8 KB