Skip to content

Commit

Permalink
Fix ubuntu compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
wtolson committed Nov 30, 2012
1 parent 825a015 commit e99c76a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ in order to compile go-taglib.

### Ubuntu:

sudo apt-get install libtag1-dev
sudo apt-get install libtagc0-dev

Install
-------
Expand Down
2 changes: 1 addition & 1 deletion taglib.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func convertAndFree(cs *C.char) string {
return ""
}

defer C.taglib_free(unsafe.Pointer(cs))
defer C.free(unsafe.Pointer(cs))
return C.GoString(cs)
}

Expand Down

0 comments on commit e99c76a

Please sign in to comment.