Don't try and allocate 0 bytes when changing allocator on an empty buffer.
authorStefan Walter <stefw@src.gnome.org>
Fri, 13 Feb 2009 18:32:47 +0000 (18:32 +0000)
committerStefan Walter <stefw@src.gnome.org>
Fri, 13 Feb 2009 18:32:47 +0000 (18:32 +0000)
commitac07438e6ab5233156c57c8b5ef6874b9c7e8700
treeb0750083f4f629ac4c912f78903f3c228ae43dce
parent1735c0d2f57f19636ee1491c0892c59fca2d1df9
Don't try and allocate 0 bytes when changing  allocator on an empty buffer.

svn path=/trunk/; revision=1565
egg/egg-buffer.c