• Auto merge of #57 - emilio:canvas-leaks, r=glennw

    api: Add an api method to deallocate images.
    
    Allows taking rid of some always-growing memory consumption, specially noticeable in 2d canvas.
    
    r? @glennw
    bors-servo committed Jun 16, 2016