mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
autofree: minor fixes; skip in consts
This commit is contained in:
@@ -57,7 +57,7 @@ pub fn load_from_memory(buf byteptr, bufsize int) ?Image {
|
||||
}
|
||||
|
||||
|
||||
pub fn (img Image) free() {
|
||||
pub fn (img &Image) free() {
|
||||
C.stbi_image_free(img.data)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user