Changes in perlglue.xs [f25df21:3b8a563]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
perlglue.xs
rf25df21 r3b8a563 43 43 rv = owl_function_command(cmd); 44 44 } else { 45 argv = g_new(const char *, items + 1); 45 /* Ensure this is NULL-terminated. */ 46 argv = g_new0(const char *, items + 1); 46 47 argv[0] = cmd; 47 48 for(i = 1; i < items; i++) { … … 56 57 RETVAL 57 58 CLEANUP: 58 if (rv)g_free(rv);59 g_free(rv); 59 60 60 61 SV * … … 113 114 RETVAL 114 115 CLEANUP: 115 if (rv)g_free(rv);116 g_free(rv); 116 117 117 118 const utf8 * … … 140 141 RETVAL 141 142 CLEANUP: 142 if (rv)g_free(rv);143 g_free(rv); 143 144 144 145 void … … 323 324 RETVAL 324 325 CLEANUP: 325 if (rv) 326 g_free(rv); 326 g_free(rv); 327 327 328 328 void
Note: See TracChangeset
for help on using the changeset viewer.