File tree Expand file tree Collapse file tree 4 files changed +13
-6
lines changed Expand file tree Collapse file tree 4 files changed +13
-6
lines changed Original file line number Diff line number Diff line change
1
+ started 7.38.2 21/1/14
2
+ - fix a tiny mem leak
3
+
1
4
started 7.38.1 20/1/14
2
5
- fix scRGB display
3
6
Original file line number Diff line number Diff line change 1
1
# Process this file with autoconf to produce a configure script.
2
2
3
- AC_INIT ( [ nip2] , [ 7.38.1 ] )
3
+ AC_INIT ( [ nip2] , [ 7.38.2 ] )
4
4
AM_INIT_AUTOMAKE ( [ -Wall] )
5
5
6
6
# foreign stops complaints about a missing README (we use README.md instead)
18
18
19
19
m4_define ( [ nip_major_version] , [ 7] )
20
20
m4_define ( [ nip_minor_version] , [ 38] )
21
- m4_define ( [ nip_micro_version] , [ 1 ] )
21
+ m4_define ( [ nip_micro_version] , [ 2 ] )
22
22
m4_define ( [ nip_version] ,
23
23
[ nip_major_version.nip_minor_version.nip_micro_version] )
24
24
Original file line number Diff line number Diff line change @@ -1594,7 +1594,7 @@ free_lex( int yychar )
1594
1594
}
1595
1595
1596
1596
/* Do we have a string of the form "IDENT = .."? Use the lexer to look along
1597
- * the string checking components, return the IDENT if we do.
1597
+ * the string checking components, return the IDENT if we do, NULL otherwise.
1598
1598
*/
1599
1599
char *
1600
1600
parse_test_define( void )
@@ -1609,18 +1609,22 @@ parse_test_define( void )
1609
1609
/* Here for yyerror in lex.
1610
1610
*/
1611
1611
IM_FREE( ident );
1612
+
1612
1613
return( NULL );
1613
1614
}
1614
1615
1615
1616
if( (yychar = yylex()) != TK_IDENT ) {
1616
1617
free_lex( yychar );
1617
- yyerror( _( "no leading identifier" ) );
1618
+
1619
+ return( NULL );
1618
1620
}
1619
1621
ident = yylval.yy_name;
1620
1622
1621
1623
if( (yychar = yylex()) != '=' ) {
1622
1624
free_lex( yychar );
1623
- yyerror( _( "'=' missing" ) );
1625
+ IM_FREE( ident );
1626
+
1627
+ return( NULL );
1624
1628
}
1625
1629
1626
1630
return( ident );
Original file line number Diff line number Diff line change 34
34
void
35
35
tree_const_destroy ( ParseConst * pc )
36
36
{
37
- if ( pc -> type == PARSE_CONST_STR )
37
+ if ( pc -> type == PARSE_CONST_STR )
38
38
IM_FREE ( pc -> val .str );
39
39
pc -> type = PARSE_CONST_NONE ;
40
40
}
You can’t perform that action at this time.
0 commit comments