Changeset 3121


Ignore:
Timestamp:
Oct 27, 2008, 6:19:06 PM (11 years ago)
Author:
nico
Message:
  • Fix a bug in caca_export_string
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca-php/php_caca.c

    r3120 r3121  
    12601260        size_t len;
    12611261        buffer = caca_export_memory(canvas, type, &len);
     1262        if (!buffer) {
     1263                RETURN_FALSE;
     1264        }
    12621265        return_value->type = IS_STRING;
    12631266        return_value->value.str.len = len;
Note: See TracChangeset for help on using the changeset viewer.