msmsplugin.cpp (pymol-v1.8.6.0.tar.bz2) | : | msmsplugin.cpp (pymol-v2.1.0.tar.bz2) | ||
---|---|---|---|---|
skipping to change at line 111 | skipping to change at line 111 | |||
if (vfd) fclose(vfd); | if (vfd) fclose(vfd); | |||
free(facefilepath); | free(facefilepath); | |||
free(vertfilepath); | free(vertfilepath); | |||
return NULL; | return NULL; | |||
} | } | |||
msms = new msms_t; | msms = new msms_t; | |||
msms->ffd = ffd; | msms->ffd = ffd; | |||
msms->vfd = vfd; | msms->vfd = vfd; | |||
msms->graphics = NULL; | msms->graphics = NULL; | |||
*natoms = 0; | *natoms = 0; | |||
free(facefilepath); | ||||
free(vertfilepath); | ||||
return msms; | return msms; | |||
} | } | |||
static int read_rawgraphics(void *v, int *nelem, | static int read_rawgraphics(void *v, int *nelem, | |||
const molfile_graphics_t **data) { | const molfile_graphics_t **data) { | |||
msms_t *msms = (msms_t *)v; | msms_t *msms = (msms_t *)v; | |||
#define LINESIZE 180 | #define LINESIZE 180 | |||
char inbuf[LINESIZE]; | char inbuf[LINESIZE]; | |||
int i, t; | int i, t; | |||
float tf=0.0f; | float tf=0.0f; | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 2 lines changed or added |